Do not log favicon/robots GET calls

This commit is contained in:
Martin Mahner 2014-12-14 22:19:03 +00:00
parent dfd0f25f11
commit 1de944e806

View file

@ -66,6 +66,12 @@ server {
keepalive_timeout 5; keepalive_timeout 5;
client_max_body_size 2M; client_max_body_size 2M;
location ~ /(favicon.ico|robots.txt) {
access_log off;
log_not_found off;
expires 3d;
}
location /media/ { location /media/ {
alias /srv/dpaste.de/var/media/; alias /srv/dpaste.de/var/media/;
} }