nginx doesn't switch upstream in some cases

Piotr Sikora piotr.sikora at frickle.com
Wed Feb 10 21:45:26 MSK 2010


> What this directive in place, when one reverse proxy is down, half the
> requests take 0.2sec to return and half take 2.2sec to return. This is
> good enough for me. :)

You should consider using "max_fails" and "fail_timeout":
http://wiki.nginx.org/NginxHttpUpstreamModule#server

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >




More information about the nginx mailing list