What are the differences between HAProxy and Nginx when it comes to their abilities as a reverse proxy?
HAProxy vs Nginx – Differences in Reverse Proxy Mode
haproxyload balancingnginxreverse-proxy
Related Topic
- Difference Between Nginx Variables $host, $http_host, and $server_name
- HTTP/2.0 Configuration – Use HTTP/2.0 Between Nginx Reverse-Proxy and Backend Webserver
- HAProxy – How to Configure as a Reverse Proxy
- Linux – ftp reverse proxy using haproxy
- Haproxy reverse proxy and virtual host
- HAproxy simple reverse proxy very slow
Best Answer
2019 update:
They are both stable and mature products. HAProxy is dedicated to load balancing and is better at that, whereas nginx is a webserver that can act as a load balancer.
Both:
HAProxy:
Nginx:
HAProxy is a free software, fully open source. They make money by selling hardware appliance with HAProxy pre-installed.
Nginx is open core and many features are only available in the paid edition. Notably, it's lacking a status page and monitoring metrics that is a big NO NO to operate a load balancer.