Remove access logging for static files to save disk writes.
This commit is contained in:
parent
5827b0c16a
commit
da285f1934
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue