From 36ed2be462f074bd6a688e21cd99aa6f6e65a717 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 7 Jan 2020 21:49:05 -0700 Subject: [PATCH] Update fusionpbx --- debian/resources/nginx/fusionpbx | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/debian/resources/nginx/fusionpbx b/debian/resources/nginx/fusionpbx index b11924b..bf70165 100755 --- a/debian/resources/nginx/fusionpbx +++ b/debian/resources/nginx/fusionpbx @@ -41,9 +41,12 @@ server { location ~^.+.(db)$ { deny all; } - location ~ /.git/ { - deny all; - } + location ~ /\.git { + deny all; + } + location ~ /\. { + deny all; + } } server { @@ -155,9 +158,12 @@ server { location ~^.+.(db)$ { deny all; } - location ~ /.git/ { - deny all; - } + location ~ /\.git { + deny all; + } + location ~ /\. { + deny all; + } } server { @@ -269,7 +275,10 @@ server { location ~^.+.(db)$ { deny all; } - location ~ /.git/ { - deny all; - } + location ~ /\.git { + deny all; + } + location ~ /\. { + deny all; + } }