diff --git a/conf/nginx.conf b/conf/nginx.conf index 86915f6..dc1c65d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,6 +13,10 @@ location __PATH__/ { # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file client_max_body_size 50M; + # Protect all not necessary files + location ~ (/templates/|(?