]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/nginx_default.conf.erb
Suppress latency warnings for an unused disk on cmok
[chef.git] / cookbooks / imagery / templates / default / nginx_default.conf.erb
index 7c6ff48d7d12f40c43b86ca5fd07f0f1af766aea..3d9a5bf5cde9cbbc1613222df9b56dc6a82937d8 100644 (file)
@@ -1,5 +1,7 @@
 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  _;
     default_type text/html;
     return 404 '<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>404 Not Found</h1></center><hr><center>default imagery server vhost. Please use correct URL.</center></body></html>';