Skip to content

Commit f4370c0

Browse files
enkoclaude
andcommitted
fix(config): Add IPv6 listening to nginx for healthcheck compatibility
The Docker healthcheck uses wget with localhost, which resolves to ::1 (IPv6) first. Without IPv6 listening, the healthcheck fails and Traefik won't route traffic to the container. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0f5b6ed commit f4370c0

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

docker/nginx.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ http {
4646

4747
server {
4848
listen 80;
49+
listen [::]:80;
4950
server_name _;
5051

5152
# Security headers (Traefik handles HTTPS, so these are internal)

docker/nginx.dev.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ http {
3939

4040
server {
4141
listen 80;
42+
listen [::]:80;
4243
server_name _;
4344

4445
# Increase client body size for vCard uploads

docker/nginx.multiservice.conf.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ http {
4545

4646
server {
4747
listen 80;
48+
listen [::]:80;
4849
server_name _;
4950

5051
# Security headers

docker/nginx.prod.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ http {
4444

4545
server {
4646
listen 80;
47+
listen [::]:80;
4748
server_name _;
4849

4950
# Security headers (Traefik handles HTTPS, so these are internal)

0 commit comments

Comments
 (0)