Remove access logging for static files to save disk writes.

This commit is contained in:
Graham Weldon 2011-02-04 21:05:54 +11:00
parent 5827b0c16a
commit da285f1934
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)$ { location ~* ^.+\.(css|js|jpg|jpeg|gif|png|ico|gz|svg|svgz|ttf|otf|woff|eot|mp4|ogg|ogv|webm)$ {
expires max; expires max;
root /sites/example.com/public; root /sites/example.com/public;
access_log logs/static.log; access_log off;
} }
# opt-in to the future # opt-in to the future