X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ef2391b31e45ac43c37c0434b3f8ab406e483432..b9c0d9f47a55952cdb03690a9d1b865dd072c588:/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 eeb4a61c1..cb629d59b 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,8 +1,9 @@ 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. + 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 '