X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ee9c58254ff188cc9a8d13e1d32e421be0b265f7..571e5982cc82c4fbefff0d463895a029a68921fe:/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 535f55dc6..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=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. + 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 '