X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fec6863727052589874a8727fb0cfd2f9cd2ef50..f76186fc8a3ee4a7cd5f6ae9c4d0658ab0e63f85:/cookbooks/imagery/templates/default/nginx_default.conf.erb diff --git a/cookbooks/imagery/templates/default/nginx_default.conf.erb b/cookbooks/imagery/templates/default/nginx_default.conf.erb index d3b8584a3..49ae05930 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,6 +1,7 @@ server { - listen 80 fastopen=1024 default_server; + listen [::]:80 ipv6only=on fastopen=1024 default_server; + listen *:80 fastopen=1024 default_server; server_name _; - return 404 'default imagery server vhost. Please use correct URL.'; - add_header Content-Type text/plain; + default_type text/html; + return 404 '404 Not Found

404 Not Found


default imagery server vhost. Please use correct URL.
'; }