X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/cb90c668918b4f95a83662dc08c584bc5f5b62e2..69aad675cd589bf027f1cee3062e9a22807403eb:/cookbooks/nginx/templates/default/nginx.conf.erb?ds=sidebyside diff --git a/cookbooks/nginx/templates/default/nginx.conf.erb b/cookbooks/nginx/templates/default/nginx.conf.erb index fc2a462d9..de53cc39d 100644 --- a/cookbooks/nginx/templates/default/nginx.conf.erb +++ b/cookbooks/nginx/templates/default/nginx.conf.erb @@ -25,12 +25,12 @@ http { '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; - access_log <%= node[:nginx][:access_log] %> main buffer=32k flush=1m; + access_log <%= node[:nginx][:access_log] %> main flush=1m; <% else -%> access_log off; <% end -%> - keepalive_timeout 30; + keepalive_timeout 20 20; server_tokens off;