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/;