Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm set up nginx to proxy requests to a pool of web servers. I'd like nginx to limit the number of concurrent requests to each web server, by waiting to forward the request, so that a web server isn't overwhelmed. Is there a way to do this in nginx?

share|improve this question

UpstreamFair module can handle other load balancing modes besides round robin. For example: with the weight parameter you can tell nginx doesn't send more than weight requests to any single backend.

share|improve this answer

Your Answer


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.