Manual:Short URL/Nginx

This guide expects the wiki files to be installed in folder /w/. The articles will be output under urls starting with /wiki/.

nginx.conf
Add the highlighted settings to server scope and reload nginx. If your server scope is not in nginx.conf, find it from conf.d/ or sites-available/ subdirs.

If you would like a different root or article path, you may use the short URL service by Redwerks to automatically generate a configuration.