Server block for MediaWiki on NGINX, Ubuntu

December 17, 2013 4.4k views
I installed Ubuntu on a droplet as well as NGINX. WordPress and XenForo are working fine but I need the MediaWiki subdirectory to work. Is there a source for a working server block somewhere? location {}
3 Answers
Thank you. I've been all over the site and should have stated this in my post (but I was on an iPad last night).

Anyway, let me add more information.

LocalSettings: $wfArticlePath = "/alv/$1"
location /alv {
try_files $uri $usr/ /w/index.php?$query_string

This gives and I want

Thank you.
Try replacing
location /alv
location /alv/index.php
Have another answer? Share your knowledge.