Update fusionpbx.conf
This commit is contained in:
parent
5604a3b8a2
commit
252e8fb391
|
|
@ -31,7 +31,7 @@ server {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
}
|
}
|
||||||
|
|
||||||
#disable viewing of .htaccess, htpassword, and .db
|
#disable viewing of .htaccess, htpassword, .db and .git
|
||||||
location ~ /\.htaccess {
|
location ~ /\.htaccess {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
@ -41,6 +41,9 @@ server {
|
||||||
location ~^.+.(db)$ {
|
location ~^.+.(db)$ {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
location ~ .git {
|
||||||
|
deny all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue