From c1bfe4a56d745bb7a5da863b1577338fa36b9c7d Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Wed, 21 Aug 2024 16:36:29 +0200 Subject: [PATCH] chore(linter) fix linter warning in CI (#114) ! 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; }