upstream max_fails disable

Richard Kearsley rkearsley at
Thu Aug 8 09:45:14 UTC 2013

I'm using the upstream module - with sole purpose to enable keepalives 
to my backend
I don't want to use any of the other features, I only have 1 server in 
the upstream {}
Does that mean max_fails is still being used? (defaults to 1?) and 
fail_timeout etc..? they both have default values
What happens if they are "all" marked as down?

If the is down, I would like it to just keep using it and 
just return 502 if it's down

upstream test
     keepalive 100;


More information about the nginx mailing list