diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-08-31 16:07:13 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-08-31 16:07:13 +0200 |
commit | b2891f5abbf717991097fcebe041b366d8129007 (patch) | |
tree | a7e8a7b98444beddaa63666c9b22b0ff875ebc8c /nginx | |
parent | 1cc57038cf2fd31b6f095c4b2be045dfa3e9f09a (diff) | |
download | pillar-b2891f5abbf717991097fcebe041b366d8129007.tar.xz |
xan: Forgot to prefix full path with /wiki
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 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: |