atom feed6 messages in ru.sysoev.nginxRe: Wordpress MU Config
FromSent OnAttachments
Shr...@ DevLib.OrgJun 25, 2009 6:58 pm 
Jim OhlsteinJun 25, 2009 7:11 pm 
merlin coreyJun 26, 2009 5:16 am 
merlin coreyJun 26, 2009 5:16 am 
Hone WatsonJun 29, 2009 10:28 pm 
merlin coreyJul 4, 2009 2:21 am 
Subject:Re: Wordpress MU Config
From:Hone Watson (ho@codingstore.com)
Date:Jun 29, 2009 10:28:35 pm
List:ru.sysoev.nginx

Merlin, how does that config account for visitors with logged in wordpress user cookies?

With Supercache these users should not be directed to the supercached files:

On Fri, Jun 26, 2009 at 10:17 PM, merlin corey<merl@dc949.org> wrote:

Also the line breaks are from my mail client truncating...  I have it all one line, but I don't think it matters for nginx.

I recently setup wordpress with supercache like so:

location / {  try_files $uri /wp-content/cache/supercache/$http_host/$uriindex.html $uri/ /index.php?q=$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.@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