...
- Layer 4 TCP and Layer 7 HTTP load balancing.
- Protocol support for HTTP, HTTP/2, gRPC and FastCGI.
- Secure Sockets Layer (SSL) and Transport Layer Security termination.
- Dynamic SSL certificate storage.
- Content switching and inspection.
- Transparent proxying.
- Detailed logging.
- Command-line interface (CLI) for server management.
- HTTP authentication.
- Multithreading.
- URL rewrites.
- Health checking.
- Rate limits.
HAProxy Config
There are four essential sections to an HAProxy configuration file. They are global
, defaults
, frontend
, and backend
. These four sections define how the server as a whole performs, what your default settings are, and how client requests are received and routed to your backend servers.