mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Do not log favicon/robots GET calls
This commit is contained in:
parent
dfd0f25f11
commit
1de944e806
1 changed files with 6 additions and 0 deletions
|
@ -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/;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue