From 2a527a38cfbdc82344bbb8b8f2e8e5e400aa1350 Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Fri, 15 Jul 2022 14:34:39 +0000 Subject: [PATCH] Deny access to hidden files for snappymail --- webmails/snappymail/config/nginx-snappymail.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webmails/snappymail/config/nginx-snappymail.conf b/webmails/snappymail/config/nginx-snappymail.conf index 98ffcc7f..985f804a 100644 --- a/webmails/snappymail/config/nginx-snappymail.conf +++ b/webmails/snappymail/config/nginx-snappymail.conf @@ -42,7 +42,7 @@ server { {% endif %} } - location ~ /\.ht { + location ~ /\. { deny all; }