From 68efef116442bed74d570c7f0432ef318be222a3 Mon Sep 17 00:00:00 2001 From: jkaberg Date: Wed, 10 Sep 2014 21:27:59 +0200 Subject: [PATCH] dont log robots.txt and favicon.ico. we should REALLY consider creating seperate include files for *all* of our "apps", this is getting messy.. --- conf/nginx.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index d1786b78..6079a0fd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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;