From 3be66c27d510ae960fea79fda816a942a7486a57 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 31 Aug 2019 16:28:45 +0200 Subject: xan: Fix URL rewrite 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 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 -- cgit v1.2.3-70-g09d2