mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-06 21:49:41 +01:00
Fix nginx permission
This commit is contained in:
@@ -128,9 +128,6 @@ if [ -f /var/www/html/conf/nginx/nginx-site.conf ]; then
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
location ~ .*\.(?!htaccess).* {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
|
||||
@@ -36,7 +36,4 @@ server {
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
location ~ .*\.(?!htaccess).* {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user