dont log robots.txt and favicon.ico. we should REALLY consider creating seperate include files for *all* of our "apps", this is getting messy..

This commit is contained in:
jkaberg 2014-09-10 21:27:59 +02:00 committed by Joshua Tauberer
parent 6ecada7eed
commit 68efef1164
1 changed files with 10 additions and 0 deletions

View File

@ -24,6 +24,16 @@ server {
root $ROOT;
index index.html index.htm;
location = /robots.txt {
log_not_found off;
access_log off;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
# Roundcube Webmail configuration.
rewrite ^/mail$ /mail/ redirect;
rewrite ^/mail/$ /mail/index.php;