From 19a1a0d044430cacbf93ae34476fc1d81090745a Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Thu, 25 Nov 2021 07:55:47 +0100 Subject: [PATCH] Extend example nginx.conf to include more protected paths (#103) --- examples/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nginx.conf b/examples/nginx.conf index 4332f8c..bf9a389 100644 --- a/examples/nginx.conf +++ b/examples/nginx.conf @@ -19,7 +19,7 @@ http { location / { try_files $uri /index.php?$args; } - location ~ ^/(protected|framework|themes/\w+/views) { + location ~ ^/(protected|application|framework|themes/\w+/views) { deny all; } location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {