X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a87b5d01314ca96a7b26a219cfb0fb17c3e0bba5..366f2c3039f3115f856906fc19cc1fbae348fffc:/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 4a74d06ed..cb629d59b 100644 --- a/cookbooks/imagery/templates/default/nginx_default.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_default.conf.erb @@ -1,6 +1,8 @@ server { - listen 80 deferred backlog=16384 reuseport fastopen=2048 http2 default_server;; - listen 443 ssl deferred backlog=16384 reuseport fastopen=2048 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;