diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-08-31 16:28:45 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-08-31 16:28:45 +0200 |
commit | 3be66c27d510ae960fea79fda816a942a7486a57 (patch) | |
tree | 3478af56343db88f6585531bb561a0770115e6c2 /nginx | |
parent | b503142a4ff29c66e57c9c5fdd286daecc118a22 (diff) | |
download | pillar-3be66c27d510ae960fea79fda816a942a7486a57.tar.xz |
xan: Fix URL rewrite
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 0fa2be8..0b0d2d2 100644 --- a/nginx/xan_kyriasis_com.sls +++ b/nginx/xan_kyriasis_com.sls @@ -52,9 +52,9 @@ nginx: - location @mediawiki: - - rewrite: '^/wiki([^?]*)(?:\?(.*))? /index.php5?title=$1&$2 last' + - rewrite: '^/wiki/([^?]*)(?:\?(.*))? /wiki/index.php?title=$1&$args last' - - location /wiki: + - location /wiki/: - root: /usr/share/webapps/xans-wiki - index: index.php index.html - try_files: $uri $uri/ @mediawiki |