Axel
July 23, 2013 06:04PM
Hi,

Am Dienstag, 23. Juli 2013, 11:06:46 schrieb toriacht:
> Hi,
>
> IN answer to my own question I found this..
>
> +------+
> Max Fails
> Fall_timeout specifies the length of that the server is considered
> inoperative. Once the time expires, new attempts to reach the server will
> start up again. The default timeout value is 10 seconds.
> +------+

this is the way I did it.

I set max_fails=1 and fail_timeout in my upstream definition and in my location block
proxy_next_upstream http_502 http_503 error;

You can use any allowed http status code here

Rgds, Axel

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

Load Balancing and High Availability

toriacht July 23, 2013 10:59AM

Re: Load Balancing and High Availability

toriacht July 23, 2013 11:06AM

Re: Load Balancing and High Availability

nitesh July 23, 2013 11:16AM

Re: Load Balancing and High Availability

Axel July 23, 2013 06:04PM

Re: Load Balancing and High Availability

toriacht July 24, 2013 06:53PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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