From ddb281eb9bf19e37e3d3dbc41a08e7949b21ada7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Wed, 10 Sep 2014 12:15:24 +0200 Subject: [PATCH] [fix] Secure directories of install in custom path --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index cdc2dcf..ac7f976 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -20,7 +20,7 @@ location YNH_WWW_PATH { } # Secure DokuWiki - location ~ ^/dokuwiki/(data|conf|bin|inc)/ { + location ~ ^/YNH_WWW_PATH/(data|conf|bin|inc)/ { deny all; }