diff options
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/xan_kyriasis_com.sls | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nginx/xan_kyriasis_com.sls b/nginx/xan_kyriasis_com.sls index 0168f4e..6a21d5f 100644 --- a/nginx/xan_kyriasis_com.sls +++ b/nginx/xan_kyriasis_com.sls @@ -51,14 +51,14 @@ nginx: - client_body_timeout: 60 + - location @mediawiki: + - rewrite: '^/wiki([^?]*)(?:\?(.*))? /index.php5?title=$1&$2 last;' + - location /wiki: - root: /usr/share/webapps/xans-wiki - index: index.php index.html - try_files: $uri $uri/ @mediawiki - - location @mediawiki: - - rewrite: '^/wiki([^?]*)(?:\?(.*))? /index.php5?title=$1&$2 last;' - - location ~ \.php$: - include: fastcgi.conf - fastcgi_pass: unix:/var/run/php-fpm/php-fpm.sock |