Core concepts

Global

On this page

The global section appears at the top of your configuration file. It defines process-level directives such as the maximum number of connections to accept, where to store logs, and which user and group the process should run under. The example below shows just some of the available options:

haproxy
global
maxconn 60000
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
user haproxy
group haproxy
chroot /var/empty
haproxy
global
maxconn 60000
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
user haproxy
group haproxy
chroot /var/empty

See also Jump to heading

Do you have any suggestions on how we can improve the content of this page?