Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: Re: [PATCH]upstream server directive support variable

$
0
0
Hello!

On Sun, Jun 02, 2013 at 08:46:33PM +0800, flygoast wrote:

> I've tried to dynamicly find upstream block name. However, now
> my backend ips are stored in some storage like REDIS, or
> memcache. In each request, I first to get the ips from the
> storage, then proxy the request to the backend. Some backends
> have not only one ip, so I used the usptream to process the
> innormal situation like 502 in someone of them. Main objective
> is to retry another backend ip instead of load balance.

To retry with another backend there is error_page directive.

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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>