Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nginx is a web server that happens to have reverse proxy functionality (similar to Apache).

HAProxy is a load balancer with philosophy of "do one thing and do it well".

Perhaps things changed with nginx, but when I tried it for load balancing it was very basic, it didn't even have status page or health checks unless you purchased the commercial version. It only had round robin load balancing method etc.

If your goal is load balancing haproxy is far superior, if your goal is to have a web server that hosts some static files and then redirect dynamic requests to another app then nginx might be better.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: