From c8035d3506f084f3222b53fb111e4b090e05a6cc Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Fri, 20 Dec 2024 14:13:10 +0100 Subject: [PATCH] feat: add q location --- locations/base.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/locations/base.conf b/locations/base.conf index 6f641ac..143b265 100644 --- a/locations/base.conf +++ b/locations/base.conf @@ -1,3 +1,8 @@ + location ~ @@APP_BASE_HREF[^/]+/q { + deny all; + return 404; + } + location @@APP_BASE_HREF { # try_files $uri $uri/$is_args$args =404; alias /usr/share/nginx/html/;