location ~* \.(jpg|jpeg|gif|png|svg|css|js|ico|xml|ttf|otf|woff)$ {
access_log off;
log_not_found off;
}
Created
October 28, 2014 22:38
-
-
Save brpaz/a5f256c313f0da2efd92 to your computer and use it in GitHub Desktop.
Disables the access log when accessing static files #nginx #log #access
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment