Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
June 02, 2013 12:24PM
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
Subject Author Views Posted

[PATCH]upstream server directive support variable Attachments

flygoast 1143 June 01, 2013 09:38PM

Re: [PATCH]upstream server directive support variable

Maxim Dounin 462 June 02, 2013 07:34AM

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

flygoast 515 June 02, 2013 08:48AM

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

Maxim Dounin 464 June 02, 2013 12:24PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 137
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