From 97d5558ebe8103450e3af0acf9b46f3664c78924 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 17 May 2021 23:52:05 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 09cca21..d1c54ad 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -35,9 +35,9 @@ location ^~ __PATH__/ { } ## disable all access to the following directories - location ~ ^__PATH__/(config|tmp|core|lang) { + location ~ ^__PATH__/(config/|tmp/|core/|lang/) { deny all; - return 404; + return 403; } location ~ __PATH__/\.ht {