From da285f1934caedaeb63aefd8fcc5855f416b0fc1 Mon Sep 17 00:00:00 2001 From: Graham Weldon Date: Fri, 4 Feb 2011 21:05:54 +1100 Subject: [PATCH] Remove access logging for static files to save disk writes. --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index a93b8c6..92899aa 100644 --- a/nginx.conf +++ b/nginx.conf @@ -114,7 +114,7 @@ http { location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|eot|mp4|ogg|ogv|webm)$ { expires max; root /sites/example.com/public; - access_log logs/static.log; + access_log off; } # opt-in to the future