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?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to