From b6886dcbec58d96dffd217853c0308804d4302f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sat, 14 May 2016 20:47:45 +0200 Subject: [PATCH] [fix] Correct regex for hidden files in nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index e3d6ccb..602153f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -26,6 +26,6 @@ location {LOCATION} { } # Deny access to hidden files and directories -location ~ ^{PATH}/. { +location ~ ^{PATH}/\. { deny all; }