From fdbb2e81f6161edcd7482075c17062acd97de0f2 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Fri, 22 Mar 2024 10:26:10 +0100 Subject: [PATCH] chore(linter) fix linter warning in CI ! When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__). --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 13acc55..10fa52c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -34,7 +34,7 @@ location __PATH__/ { } # Deny Access to htaccess-Files for Apache - location ~ __PATH__/\.ht { + location ~ ^__PATH__/\.ht { deny all; }