HAProxy Concepts
From NovaOrdis Knowledge Base
Contents
Internal
Proxy Mode
Two major proxy modes are supported: "tcp", also known as layer 4 and "http" known as layer 7.
"tcp" Proxy Mode
In "tcp" mode, HAProxy forwards bidirectional traffic between two sides.
"http" Proxy Mode
In "http" mode, HAProxy analyzes the protocol and can interact with it by allowing, blocking, switching, adding, modifying or removing arbitrary contents in requests or responses.
Logging
HAProxy does not write log information on disk, but it forwards it to the syslog server, over UDP, by default on port 514.
Connection Health Check
SSL Support
HAProxy can be configured to terminate the SSL connection or to pass it through the backend server.