From b2891f5abbf717991097fcebe041b366d8129007 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 31 Aug 2019 16:07:13 +0200 Subject: xan: Forgot to prefix full path with /wiki MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/xan_kyriasis_com.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/xan_kyriasis_com.sls b/nginx/xan_kyriasis_com.sls index 6aa71db..8b550f6 100644 --- a/nginx/xan_kyriasis_com.sls +++ b/nginx/xan_kyriasis_com.sls @@ -70,10 +70,10 @@ nginx: - expires: max # Restrictions based on default htaccess file - - location ^~ ^/(cache|includes|maintenance|languages|serialized|tests|images/deleted)/: + - location ^~ ^/wiki/(cache|includes|maintenance|languages|serialized|tests|images/deleted)/: - deny: all - - location ^~ ^/(bin|docs|extensions|includes|maintenance|mw-config|resources|serialized|tests)/: + - location ^~ ^/wiki/(bin|docs|extensions|includes|maintenance|mw-config|resources|serialized|tests)/: - internal: '' - location /.well-known/acme-challenge: -- cgit v1.2.3-54-g00ecf