Update fusionpbx.conf

This commit is contained in:
FusionPBX 2020-01-07 21:38:52 -07:00 committed by GitHub
parent 5604a3b8a2
commit 252e8fb391
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,7 @@ server {
include fastcgi_params;
}
#disable viewing of .htaccess, htpassword, and .db
#disable viewing of .htaccess, htpassword, .db and .git
location ~ /\.htaccess {
deny all;
}
@ -41,6 +41,9 @@ server {
location ~^.+.(db)$ {
deny all;
}
location ~ .git {
deny all;
}
}
server {