X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2c43a39d8b64cbc09f4c5a56f519bbf5462ca9c6..2ba3ca34ccd12e6a7fcc7192f19277bcd8a7bf93:/cookbooks/imagery/templates/default/nginx_default.conf.erb?ds=inline diff --git a/cookbooks/imagery/templates/default/nginx_default.conf.erb b/cookbooks/imagery/templates/default/nginx_default.conf.erb index 7c6ff48d7..eeb4a61c1 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=2048 default_server; + listen *:80 fastopen=2048 default_server; + listen [::]:443 fastopen=2048 ssl http2; # No default_server here unless certificate specified here too. + listen *:443 fastopen=2048 ssl http2; # No default_server here unless certificate specified here too. server_name _; default_type text/html; return 404 '