From ffc7e8d77e02887935aedd217628d9dd9b2dd584 Mon Sep 17 00:00:00 2001 From: David Duque Date: Sun, 28 Jun 2020 10:05:25 +0100 Subject: [PATCH] Add comments explaining --- conf/nginx-custom.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/nginx-custom.conf b/conf/nginx-custom.conf index d09c3b8..addb815 100644 --- a/conf/nginx-custom.conf +++ b/conf/nginx-custom.conf @@ -7,14 +7,16 @@ # DON'T DELETE THE LINE BELOW # ADDITIONAL DIRECTIVES HERE + # Ensure we have the MTA-STS policy enabled location = /.well-known/mta-sts.txt { alias /var/lib/mailinabox/mta-sts.txt; } + + # Disable error logs for these location = /robots.txt { log_not_found off; access_log off; } - location = /favicon.ico { log_not_found off; access_log off;