I’m new to nginx, spent a morning reading nginx documentation. I’m
not clear how nginx determines the status of upstream servers. Let’s
have some upstream servers, all set to max_fails=3 and fail_timeout=30s.
According to the document, if one server fails 3 times within 30s time,
nginx will mark this server to be inoperative and won’t direct any
to it. Is that right? Then the question is: will nginx try this server
again later to see if it recovers? If it does, what’s the algorithm?
doesn’t, is there any way to inform nginx after the server recovers?