nginx usptream 302 redirect

Maxim Dounin mdounin at mdounin.ru
Fri Oct 4 14:11:23 UTC 2013


Hello!

On Fri, Oct 04, 2013 at 04:20:04PM +0300, Anatoli Marinov wrote:

> Where I can ask for a help with this configuration?
> 
> I cannot manage to configure it.

The nginx@ list is intended for user questions, see 
http://nginx.org/en/support.html.

[...]

> But I receive 500 internal server error and in the logs I have:
> invalid URL prefix in ""
> I think the variable $upstream_http_location is empty. Should I use
> different variable?

You should save a value of the $upstream_http_location variable 
before upstream data will be reinitialized, e.g. via "set $foo 
$upstream_http_location".

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list