Prevent access to template/cache

9bd1433f0e
This commit is contained in:
Robin 2020-07-18 12:05:34 +02:00
parent b45faa4993
commit 93de0bea49

View File

@ -31,6 +31,10 @@ http {
try_files $uri $uri/ /index.php?$args; try_files $uri $uri/ /index.php?$args;
} }
location ~ \.(tpl|cache)$ {
return 403;
}
location = /robots.txt { location = /robots.txt {
allow all; allow all;
log_not_found off; log_not_found off;