Hey I'm having a tough time producing a working NGINX configuration for my
wiki, would appreciate some guidance.
I've produced an almost working configuration using
http://shorturls.redwerks.org/ - the only issue is that resources (CSS and
images) fail to load.
The config is here:
http://hastebin.com/owicoqufak.nginx
LocalSettings set as such:
$wgScriptPath = "/w";
$wgArticlePath = "/wiki/$1";
$wgThumbnailScriptPath = "$wgScriptPath/thumb.php";
$wgUsePathInfo = true;
$wgScriptExtension = ".php";
$wgLoadScript = "$wgScriptPath/load.php";
I'm gonna have to revert to Apache in the mean time as this is on the
production server. Does anybody know of a working configuration? I couldn't
get the example in NGINX's documents to work either, nor the example at
mediawiki.org. =[
--
Kind regards,
P. Josepherum |
http://psychonautwiki.org/