Manual:Short URL/Nginx

This guide expects the wiki files to be installed in folder /wiki. The articles will be output in the webroot.

= 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 =