X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f76186fc8a3ee4a7cd5f6ae9c4d0658ab0e63f85..bf16c782a9d8e78c4b14a35b899b81992f91155f:/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 49ae05930..535f55dc6 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,6 +1,8 @@ server { - listen [::]:80 ipv6only=on 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 '