To replicate the configuration steps in the instructions about using "clean URLs" on the Nginx platform, do the following:
1) Put in Mediawiki's LocalSettings.php $wgUsePathInfo = true; $wgArticlePath = '/wiki/$1';
2) Put in nginx.conf
location /wiki { rewrite ^/wiki([^?]*)(?:\?(.*))? /wiki/index.php?title=$1&$2 last; }