diff --git a/conf/nginx.conf b/conf/nginx.conf index 4b8549c..297ec9f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -32,6 +32,11 @@ location __PATH__/ { deny all; } + location ~ ^__PATH__/var-.* { + deny all; + return 404; + } + location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock;