X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/44f97b9d96e014717d83f2fcf43e0a95fe82ba61..b88e04237dcfbf1d7c4b7aa6023465f8e4a34f44:/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 4e003a157..cb629d59b 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,6 +1,9 @@ server { - listen [::]:80 fastopen=1024 default_server; - listen *:80 fastopen=1024 default_server; + listen 80 deferred backlog=16384 reuseport default_server; + listen 443 ssl deferred backlog=16384 reuseport http2; # No default_server here unless certificate specified here too. + listen [::]:80 deferred backlog=16384 reuseport default_server; + listen [::]:443 ssl deferred backlog=16384 reuseport http2; # No default_server here unless certificate specified here too. + server_name _; default_type text/html; return 404 '