diff --git a/config/nginx/in-vhost.conf b/config/nginx/in-vhost.conf index e8b9a0a..cf262f7 100644 --- a/config/nginx/in-vhost.conf +++ b/config/nginx/in-vhost.conf @@ -16,6 +16,11 @@ server { location = /favicon.ico { access_log off; log_not_found off; } location = /robots.txt { access_log off; log_not_found off; } + + location ~* /storage/.*\.php$ { + return 503; + } + location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass app:9000;