Skip to content

Commit

Permalink
Update docker nginx.conf to enable ipv6
Browse files Browse the repository at this point in the history
I'm having connectivity issues in my dual stack environment and this seems to fixes them.
  • Loading branch information
jnimety authored Oct 19, 2024
1 parent 6a193da commit ccc21c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .docker/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
server {
listen 80;

listen [::]:80;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}

include /etc/nginx/extra-conf.d/*.conf;
}
}

0 comments on commit ccc21c3

Please sign in to comment.