diff --git a/server/nginx.conf b/server/nginx.conf index 7641430..525e802 100644 --- a/server/nginx.conf +++ b/server/nginx.conf @@ -66,6 +66,12 @@ server { keepalive_timeout 5; client_max_body_size 2M; + location ~ /(favicon.ico|robots.txt) { + access_log off; + log_not_found off; + expires 3d; + } + location /media/ { alias /srv/dpaste.de/var/media/; }