Fix nginx permission

This commit is contained in:
jkaninda committed 2022-07-01 19:17:19 +02:00
1 parent 8070b845b4
commit 810a1eafde
2 files changed
+10 -6

No files matched your search

+5 -3
View File
@@ -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;}
}