WordPress Multisite and Nginx don’t play nice together

Feb 20th, 2012 | By | Category: Internet, Linux / Freebsd

So you’ve just installed or upgraded to WordPress Multisite and upon checking out your first network site you are greeted with a page full of broken images.  Wondering why?  Well if you are using Nginx and apache chances are you’ll need to tell nginx to stop running on that domain, or at leaset tone it down to a bare min.  For me I have nginx detect which kinds of files are being loaded and if it’s one of a select few like images or css files it goes through nginx, everything else and it goes through apache.  All I had to do to fix my broken image problem was to go into my vhost file and limit nginx to simply .ico files for the domain in question.

 

Hope that helps

Tags: , , , ,

Leave a Comment