From 072e63e346c23a13d87af027e9c73690b04edd82 Mon Sep 17 00:00:00 2001 From: Graham Weldon Date: Fri, 4 Feb 2011 18:05:54 +0800 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