diff --git a/conf/nginx.conf b/conf/nginx.conf index 02cfe94..f512234 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,7 +22,15 @@ location __PATH__/ { fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; } - location ~ ^__PATH__/(\.|Core|Specific) { + #location ~ ^__PATH__/(\.|Core|Specific) { + # deny all; + #} + + location ~ ^__PATH__/(\.ht|Core|Specific|config) { deny all; + return 404; } } + + + \ No newline at end of file