Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

From the doc: http://wiki.nginx.org/HttpUpstreamModule#server

It said when the upstream reached max_fails within fail_timeout and it will become dead. What if my server is up sometimes after?

In general,

  1. If a upstream server failed, will nginx retry with another server in the pool?

  2. Any variable I can configure so that they will join the pool automatically when they are up?

Thanks.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The documentation you linked to states that nginx will try the upstream again after fail_timeout seconds, to see if it has come back up.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.