tilecache: storage tuning
[chef.git] / cookbooks / nginx / templates / default / nginx.conf.erb
index fc2a462d9a4f5d9e9b0923784dd098f416ded660..de53cc39d6ac867e170ff22f8223a85badb55898 100644 (file)
@@ -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;