Merge branch '8.0' into 8.1

This commit is contained in:
jkaninda committed 2022-07-01 19:19:19 +02:00
commit 5e8c24f5f7
2 files changed
+10 -6

No files matched your search

+5 -3
View File
@@ -125,9 +125,11 @@ if [ -f /var/www/html/conf/nginx/nginx-site.conf ]; then
}
# 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;}
}
EOF
+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;}
}