Welcome! Log In Create A New Profile

Advanced

Can you use weight and max_fails or fail_timeout with the same server?

Posted by volleyball 
Can you use weight and max_fails or fail_timeout with the same server?
September 03, 2017 01:13AM
In default.conf I created a upstream backed {} section. For some servers I have used a weight=3. For these same servers, can I configure a max_fails= or fail_timeout= setting? Whenever I try both weight=3 and a max_fails or fail_timemout separate only by a space after the number "3", the Docker container will not start again. Is there a way to reconcile this and use a weight setting with a max_fails or fail_timeout setting too?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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