diff --git a/nginx_web/nginx.conf b/nginx_web/nginx.conf index b708da8..d2809b1 100644 --- a/nginx_web/nginx.conf +++ b/nginx_web/nginx.conf @@ -31,6 +31,10 @@ http { try_files $uri $uri/ /index.php?$args; } + location ~ \.(tpl|cache)$ { + return 403; + } + location = /robots.txt { allow all; log_not_found off;