From 9c5ae60eeb0d4b3b3fdd364e0293b1ab50368a0f Mon Sep 17 00:00:00 2001 From: Chtixof Date: Sun, 12 Apr 2015 10:13:41 +0200 Subject: [PATCH] Nginx conf corrected --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ed6982d..a313076 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,7 @@ location PATHTOCHANGE { # Do not include SSOWAT user panel. #include conf.d/yunohost_panel.conf.inc; -} -location ~ ^PATHTOCHANGE/(conf|history) { - deny all; + location ~ /(conf|history)(/|$) { + deny all; + } }