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/ {
|
location ~ /.git/ {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
location ~ /\.lua {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
|
location ~ /\. {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|||||||
Reference in New Issue
Block a user