The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
The /etc/haproxy/haproxy.cfg
configuration
file is divided into the following sections:
-
global
Defines global settings such as the
syslog
facility and level to use for logging, the maximum number of concurrent connections allowed, and how many processes to start in daemon mode.-
defaults
Defines default settings for subsequent sections.
-
listen
Defines a complete proxy, implicitly including the
frontend
andbackend
components.-
frontend
Defines the ports that accept client connections.
-
backend
Defines the servers to which the proxy forwards client connections.
For examples of how to configure HAProxy, see: