From be13b33ae1a87657f4877ff0ec7efc46be10f59c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 17 Oct 2020 15:24:29 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 9caee66..f1689fc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -16,6 +16,10 @@ location __PATH__/ { # Override CSP header to make SSOWAT user panel compatible with kanboard more_set_headers Content-Security-Policy "default-src 'self' 'unsafe-eval' data:;"; + location __PATH__/(?:kanboard|config.php|config.default.php) { + deny all; + } + # Deny access to the directory data location __PATH__/data { deny all;