also prevent access to htaccess files

This commit is contained in:
Robin 2021-05-01 14:23:06 +02:00
parent d16cc83c2f
commit 3cb6572b5d

View File

@ -31,7 +31,7 @@ http {
try_files $uri $uri/ /index.php?route=$uri&$args;
}
location ~ \.(tpl|cache)$ {
location ~ \.(tpl|cache|htaccess)$ {
return 403;
}