Look at the respective sites for getting more information. Below is an outline of both the benefits and drawbacks of using Nginx vs HAProxy. I have used for years nginx, nginx-plus and haproxy and there is no clear winner. HAProxy can do out-of-band health checks, whereas nginx only knows a backend to be "down" when it serves a 500. Benefits: Since Nginx is capable of doing much more than load balancing it is a much more versatile solution NGINX is highly extensible and is the basis for servers such as OpenResty, which builds upon NGINX with Lua to create a powerful web server and framework.

A full web server is present in Nginx while the haproxy is not present. But I think after 15 years in this industry I can justify voicing an honest opinion.

Regardless, you can hardly “go wrong” with either of these projects. NGINX is a great open source web server, we all know that. If caching is important to you, then Nginx might be a better choice. HAProxy (High Availability Proxy) is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

What’s more is that they seem to be in a bit of a feature war; when … If advanced routing and load balancing is important to you, then HAProxy might be a better choice. What is nginx? Comparison of HAProxy and Nginx: This comparison is by no mean complete feature list for each project.
Hands down. The top reviewer of HAProxy writes "A containerized solution for TCP load balancing". HAProxy beats NGINX.

Both Nginx and haproxy are asynchronies by the concurrency. HAProxy is rated 9.6, while NGINX Plus is rated 10.0. HAProxy is a superior load balancer to nginx. HAProxy – open-source load balancer.

Both Nginx and HAProxy are full-featured proxies and it really comes down to specific features you might be looking for. I was frustrated from the “never use” – it is simply low biased. Also, HAProxy is a general TCP load balancer, whereas nginx will work only on HTTP traffic. nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev.

NGINX next to HAProxy looks like a 2CV next to a Tesla: why would you drive a relic when you could have something that’s fast, finely tuned and headed into the future? For example slow start do not work on administratively disabled upstream server – something that usually happens on new code deploy on upstream servers.

HAProxy is ranked 4th in Application Delivery Controllers with 2 reviews while NGINX Plus is ranked 5th in Application Delivery Controllers with 1 review.

Plug-in is statically compiled in Nginx and not present in haproxy… HAProxy have in addition agent check which opens a lot more possibilities. HAProxy is an open-source, microcode-optimized load balancer
Also, both are presented in load balancer and SSL offloading.