Welcome! Log In Create A New Profile

Advanced

Re: "X-Accel-Redirect" and Wordpress MU solution

Jeff Waugh
November 27, 2009 04:18AM
<quote who="rahul286">

> I am trying to get "X-Accel-Redirect" working on my ngnix and Wordpress MU
> server.
>
> I came across this official wordpress thread -
> http://trac.mu.wordpress.org/changeset/1946
>
> I followed it. I added codes in blogs.php. I also defined
> 'WPMU_ACCEL_REDIRECT' as 'true'.

G'day, from the author of that patch. :-)


Here's the relevant configuration snippet I use:

location ^~ /blogs.dir {
internal;
alias /srv/example.com/root/wp-content/blogs.dir;
}

That's all you have to do -> an internal /blogs.dir location, aliased to the
real blogs.dir directory.

Enjoy!

- Jeff

--
Robot Parade http://www.robotparade.com.au/

m. +61 423 989 818 b. http://bethesignal.org/ p. +61 2 9043 2940

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

"X-Accel-Redirect" and Wordpress MU solution

rahul286 November 27, 2009 03:26AM

Re: "X-Accel-Redirect" and Wordpress MU solution

Igor Sysoev November 27, 2009 03:46AM

Re: "X-Accel-Redirect" and Wordpress MU solution

Jeff Waugh November 27, 2009 04:18AM

Re: "X-Accel-Redirect" and Wordpress MU solution

rahul286 November 27, 2009 01:05PM

Re: "X-Accel-Redirect" and Wordpress MU solution

Rob Schultz November 27, 2009 02:22PM

Re: "X-Accel-Redirect" and Wordpress MU solution

rahul286 November 28, 2009 03:10AM

Re: "X-Accel-Redirect" and Wordpress MU solution

rahul286 November 28, 2009 03:17AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready