diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-08-31 16:11:34 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-08-31 16:11:34 +0200 |
commit | b503142a4ff29c66e57c9c5fdd286daecc118a22 (patch) | |
tree | de2ddd7d47e0a043d419516cd3dab7c290ca6583 /nginx | |
parent | b2891f5abbf717991097fcebe041b366d8129007 (diff) | |
download | pillar-b503142a4ff29c66e57c9c5fdd286daecc118a22.tar.xz |
xan: Remave ^~'s
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/xan_kyriasis_com.sls | 4 |
1 files changed, 2 insertions, 2 deletions
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: |