Remove access logging for static files to save disk writes.

This commit is contained in:
Graham Weldon 2011-02-04 18:05:54 +08:00 committed by Paul Irish
parent 5827b0c16a
commit 072e63e346
1 changed files with 1 additions and 1 deletions

View File

@ -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