From 03a5f200f67734a8afde7c51d4e1a2f18ce26592 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 17 May 2021 17:57:24 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index d16f443..989f093 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -35,7 +35,7 @@ location __PATH__/ { ## disable all access to the following directories - location ~ ^/(config|tmp|core|lang) { + location __PATH__/(config|tmp|core|lang) { deny all; return 403; # replace with 404 to not show these directories exist }