Manual:Short URL/Nginx/zh

This guide expects the wiki files to be installed in folder /w/. The articles will be output under urls starting with /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.

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