X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7574f99c912236460176f19868a7ea4b42f1c357..e36eac11a3df616d5caae151ce0629e52bdf13a2:/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 26f53e92e..b42545685 100644 --- a/cookbooks/nginx/templates/default/nginx.conf.erb +++ b/cookbooks/nginx/templates/default/nginx.conf.erb @@ -25,6 +25,8 @@ http { '"$http_user_agent" "$http_x_forwarded_for"'; access_log <%= node[:nginx][:access_log] %> main buffer=32k flush=1m; +<% else -%> + access_log off; <% end -%> keepalive_timeout 65;