summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/xan_kyriasis_com.sls4
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