HAProxy

Open source

HAProxy is a free reverse proxy and load balancer for TCP and HTTP applications, offering high availability, written in C.

Open-source alternative to

git.haproxy.org
HAProxy homepage screenshot
GitHub stars
7k
Last 30 days
+73(+1%)
Last commit
yesterday
Repository age
8 years
Licence
Custom
Self-hosted
Yes

About HAProxy

HAProxy is a free reverse proxy offering load balancing, high availability and proxying for applications that use TCP or HTTP. It sits in front of servers, spreads incoming traffic between them and keeps services reachable when individual backends fail.

Repository topics point to features such as HTTP/2, TLS 1.3, caching, FastCGI, IPv6, the PROXY protocol and DDoS mitigation. The documentation is split across several files, including an introduction, a configuration manual, a Lua reference, notes on the SPOE engine, network namespaces under Linux, a management guide, the peers protocol and a regression testing suite, plus a wiki. Load generation utilities are described in separate documents.

HAProxy is written in C, and the repository is the development branch mirrored from git.haproxy.org. The project explains its life cycle in a BRANCHES file so you can choose the right version, offers a Discourse forum, mailing list, Slack and IRC for help, and reserves the issue tracker for bugs and feature requests.

Key features

  • Reverse proxy for TCP and HTTP
  • Load balancing and high availability
  • HTTP/2 and TLS 1.3 support
  • Caching and FastCGI
  • Lua scripting API
  • SPOE engine

Good fit for

  • Load balancing web application servers
  • Terminating TLS in front of backend services
Built with
C tools
Tags
load-balancer
reverse-proxy
proxy
high-availability
http2
tls
networking
c-language

HAProxy: questions and answers

What is HAProxy used for?
HAProxy is a free reverse proxy and load balancer for TCP and HTTP applications, offering high availability, written in C. It is a good fit for load balancing web application servers and terminating TLS in front of backend services.
Is HAProxy open source?
Yes. HAProxy is open source under a custom licence. Its source code is on GitHub at haproxy/haproxy and is written mainly in C.
Is HAProxy free?
Yes. HAProxy is open source, so the software itself is free to use under the terms of its own licence.
Can I self-host HAProxy?
Yes. HAProxy can be self-hosted on your own server or infrastructure; there is no official hosted version.
What is HAProxy an alternative to?
HAProxy is an open-source alternative to Azure Front Door, Akamai, DataDome and Gcore. Other open-source alternatives to Azure Front Door include NGINX.
Is HAProxy actively maintained?
Yes. The most recent commit to HAProxy was on 12 November 2026. The project has 7k stars on GitHub, with 73 added in the last 30 days.

Open-source alternatives to HAProxy

See all

SaaS alternatives to HAProxy

See all