Extend example nginx.conf to include more protected paths (#103)

This commit is contained in:
Markus Opolka
2021-11-25 07:55:47 +01:00
committed by GitHub
parent 624a17b9fc
commit 19a1a0d044

View File

@@ -19,7 +19,7 @@ http {
location / { location / {
try_files $uri /index.php?$args; try_files $uri /index.php?$args;
} }
location ~ ^/(protected|framework|themes/\w+/views) { location ~ ^/(protected|application|framework|themes/\w+/views) {
deny all; deny all;
} }
location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ { location ~ \.(js|css|png|jpg|gif|swf|ico|pdf|mov|fla|zip|rar)$ {