Disable viewing any directories that start with a period

.git was added a while ago but all hidden directories should also be blocked
This commit is contained in:
FusionPBX
2023-10-14 08:41:09 -06:00
committed by GitHub
parent b57d970b06
commit c28aad31a1

View File

@@ -44,6 +44,12 @@ server {
location ~ /.git/ {
deny all;
}
location ~ /\.lua {
deny all;
}
location ~ /\. {
deny all;
}
}
server {