forked from norman/fusionpbx-install.sh-github-mirror
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:
@@ -44,6 +44,12 @@ server {
|
||||
location ~ /.git/ {
|
||||
deny all;
|
||||
}
|
||||
location ~ /\.lua {
|
||||
deny all;
|
||||
}
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user