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 am a bit confused on nginx, can it also act as a proxy like haproxy?

i.e. Someone connects to my domain, where haproxy sits, then it routes the traffic from port 80 to web servers running on a different port, in a round robbin fashion.

Can nginx perform this same functionality?

share|improve this question
up vote 2 down vote accepted

HAproxy is a better proxy / load balancer with focus on high-availability.

nginx supports things like rewriting and SSL however (as of my last use) doesn't detect a "down" server very well.

Nginx CAN perform the same functionality as you said. Reverse proxy load balancing on round robin is pretty simple to setup, and is pretty well documented around google.

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.