Thread:Project:Support desk/Migrate nginx error 404/reply

$wgArticlePath should probably be "/wiki/$1".

You should also try the configuration provided by http://shorturls.redwerks.org/