Ensure nginc listens on both IPv6 and IPv4
authorTom Hughes <tom@compton.nu>
Sun, 29 Jan 2017 11:50:02 +0000 (11:50 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 29 Jan 2017 11:50:02 +0000 (11:50 +0000)
cookbooks/imagery/templates/default/nginx_default.conf.erb

index 7c6ff48d7d12f40c43b86ca5fd07f0f1af766aea..93e3cf320e15ad086f5e0ce4c6d59deba6f0a3e8 100644 (file)
@@ -1,5 +1,5 @@
 server {
-    listen [::]:80 fastopen=1024 default_server;
+    listen [::]:80 ipv6only=off fastopen=1024 default_server;
     server_name  _;
     default_type text/html;
     return 404 '<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>404 Not Found</h1></center><hr><center>default imagery server vhost. Please use correct URL.</center></body></html>';