Skip to content

Commit afa1521

Browse files
chr-hertelclaude
andcommitted
ci: serve /healthz over IPv4 for nginx healthcheck
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8bedee3 commit afa1521

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tests/Conformance/Fixtures/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
networks:
1212
- mcp-net
1313
healthcheck:
14-
test: ["CMD", "wget", "-q", "-O-", "http://localhost/"]
14+
test: ["CMD", "wget", "-q", "-O-", "http://127.0.0.1/healthz"]
1515
interval: 2s
1616
timeout: 2s
1717
retries: 10

tests/Conformance/Fixtures/nginx.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ server {
33
server_name localhost;
44
root /app;
55

6+
location = /healthz {
7+
access_log off;
8+
return 200 "ok\n";
9+
}
10+
611
location / {
712
try_files $uri /tests/Conformance/server.php$is_args$args;
813
}

0 commit comments

Comments
 (0)