Manual:Short URL/Nginx

This guide expects the wiki to be installed in folder /wiki.

= nginx.conf = Rewriting in nginx is very simple. Just add highlighted settings to server scope and reload nginx, then it works. If your server scope is not in nginx.conf, find it from conf.d/ or sites-available/ subdirs.

Note that this configuration makes use of if constructs, which should be avoided whenever possible.

= LocalSettings.php =