max_fails=0 for server directive
Ruben
rdocter at gmail.com
Sun Oct 15 07:51:27 UTC 2017
When setting max_fails=0 for all server directives used in upstream module.
So for example:
upstream chat-servers {
hash $arg_chatName;
server chat-1 max_fails=0;
server chat-2 max_fails=0;
server chat-3 max_fails=0;
}
Assume a certain ?chatName=xxx is directed to chat-2 server, and this
server fails. Do I get an error for that connection or does it try chat-3
server?
I want it not to go to the next sever but to just fail. Is this the correct
config?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20171015/e4a1266a/attachment.html>
More information about the nginx
mailing list