mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-07 14:09:42 +01:00
Fix nginx permission
This commit is contained in:
@@ -33,7 +33,9 @@ server {
|
||||
}
|
||||
# deny access to Apache .htaccess on Nginx with PHP,
|
||||
# if Apache and Nginx document roots concur
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
location ~ /\.ht {deny all;}
|
||||
location ~ /\.svn/ {deny all;}
|
||||
location ~ /\.git/ {deny all;}
|
||||
location ~ /\.hg/ {deny all;}
|
||||
location ~ /\.bzr/ {deny all;}
|
||||
}
|
||||
Reference in New Issue
Block a user