From b503142a4ff29c66e57c9c5fdd286daecc118a22 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 31 Aug 2019 16:11:34 +0200 Subject: xan: Remave ^~'s 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(-) (limited to 'nginx') diff --git a/nginx/xan_kyriasis_com.sls b/nginx/xan_kyriasis_com.sls index 8b550f6..0fa2be8 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 ^~ ^/wiki/(cache|includes|maintenance|languages|serialized|tests|images/deleted)/: + - location ~ ^/wiki/(cache|includes|maintenance|languages|serialized|tests|images/deleted)/: - deny: all - - location ^~ ^/wiki/(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-70-g09d2