Location header, memcached, nginx, django and redirected paths
Michel Sabchuk
michelts at gmail.com
Tue Aug 24 17:58:26 MSD 2010
Hi people,
> I using nginx, django and memcached for a site.
> It works very well except when django tries to redirect a user using a
> 301 or 302 redirect (for login protected pages in example).
I found what I missed: the error_page instruction don't get the
response code of the fallback unless I use a equal sign.
Where I wrote:
"error_page 501 502 404 405 @fallback;"
I must write:
"error_page 501 502 404 405 = @fallback;"
Thanks!
--
Michel Thadeu Sabchuk
Curitiba - Brasil
More information about the nginx
mailing list