X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/418a25ba4ea44f6f15192384fca875c81225791e..b1b9d1a24cd4ec5bc9176af4342697a739db64e7:/cookbooks/imagery/templates/default/nginx_default.conf.erb diff --git a/cookbooks/imagery/templates/default/nginx_default.conf.erb b/cookbooks/imagery/templates/default/nginx_default.conf.erb index 93e3cf320..3d9a5bf5c 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,5 +1,7 @@ server { - listen [::]:80 ipv6only=off fastopen=1024 default_server; + listen 80 deferred backlog=16384 reuseport fastopen=2048 default_server; + listen 443 ssl deferred backlog=16384 reuseport fastopen=2048 http2; # No default_server here unless certificate specified here too. + server_name _; default_type text/html; return 404 '