From c87da5330c91e7fe509d9c390fb6bef2c538c6b1 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 07e063b5..37c46411 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;