X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/fec6863727052589874a8727fb0cfd2f9cd2ef50..84c674ad57aead0d89ad041ca079f3e681c3f57c:/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 d3b8584a3..3d9a5bf5c 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 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 _; - return 404 'default imagery server vhost. Please use correct URL.'; - add_header Content-Type text/plain; + default_type text/html; + return 404 '404 Not Found

404 Not Found


default imagery server vhost. Please use correct URL.
'; }