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
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
NGINX
Networking & VPN
The official NGINX Open Source repository.
BSD-2-Clausevs Cloudflare★ 32k
Caddy
Networking & VPN
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Apache-2.0vs Akamai★ 79k
Traefik
Networking & VPN
The Cloud Native Application Proxy
MITvs Akamai★ 66k
SafeLine
Security
CyberServal open-source WAF is a self-hosted WAF with 20.9K GitHub stars. Block SQL inject
GPL-3.0vs Cloudflare★ 23k
BunkerWeb
Security
🛡️ Open-source and cloud-native Web Application Firewall (WAF)
AGPL-3.0vs Cloudflare★ 11k
ModSecurity
Security
ModSecurity is an open source, cross platform web application firewall (WAF) engine for Ap
Apache-2.0vs Cloudflare★ 9.9k
SaaS alternatives to HAProxy
See all
Azure Front Door
Networking & VPN
Global CDN and application delivery network on Azure
SaaS
Akamai
Networking & VPN
CDN, security and edge compute platform for enterprise web delivery
SaaS
DataDome
Security
Bot protection and online fraud prevention platform
SaaS
Gcore
Networking & VPN
CDN, edge cloud, DNS and DDoS protection provider
SaaS
F5
Security
Application delivery and security products including WAF and load balancing
SaaS
CDN77
Networking & VPN
Content delivery network for video, downloads and websites
SaaS

