Wordpress MU Config

merlin corey merlincorey at dc949.org
Fri Jun 26 16:16:32 MSD 2009

I recently setup wordpress with supercache like so:

location / {
  try_files $uri
/wp-content/cache/supercache/$http_host/$uriindex.html $uri/

I believe this is an Igor-cringing-from-too-many-ifs-less
configuration, but I do not guarantee the lack of any cringes
whatsoever :P.

On Thu, Jun 25, 2009 at 7:11 PM, Jim Ohlstein<jim.ohlstein at gmail.com> wrote:
> Shri @ DevLib.Org wrote:
>> Hi there,
>>  Does anyone have an optimized config for Wordpress MU with subdomain
>> support?
> I use the config at
> http://lumanau.web.id/2008/11/27/nginx-rewrite-rules-for-wordpressmu-with-wp-super-cache-plugin-enabled.html
> for MU with supercache. It seems to work. I may switch to Varnish or nginx
> fastcgi cache and then the rewrites are pretty trivial. If I recall
> correctly the rewrites are the same for subdomain or subdirectory
> configuration. It's a matter of a config setting in MU and a wildcard DNS
> entry.
> Note these are not "optimized" in that they contain lots of "if" statements
> and Igor would probably cringe...
>>  There are a lot of conflicting configs on the wordpress forums and I
>> could not find one on the Nginx Wiki - hence the request.
>>  Thanks in advance!
>>  Regards,
>> Shri
> Jim

More information about the nginx mailing list