X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4dece145abae8403fafbc86362219a524dc4d605..de23cf1d7f7dcdae563ab4b89e94437f6169286b:/cookbooks/imagery/templates/default/nginx_default.conf.erb?ds=sidebyside diff --git a/cookbooks/imagery/templates/default/nginx_default.conf.erb b/cookbooks/imagery/templates/default/nginx_default.conf.erb index 4b57aafcc..535f55dc6 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,5 +1,8 @@ server { - listen 80 fastopen=1024 default_server; + listen [::]:80 fastopen=1024 default_server; + listen *:80 fastopen=1024 default_server; + listen [::]:443 fastopen=1024 ssl http2; # No default_server here unless certificate specified here too. + listen *:443 fastopen=1024 ssl http2; # No default_server here unless certificate specified here too. server_name _; default_type text/html; return 404 '