Skip to content
Olivier Locard edited this page Apr 19, 2019 · 2 revisions

The global section can be configured with the YAML tree haproxy_global.

chroot

Half String, half boolean. The value can be false to disable the feature or a directory.

pidfile

String

maxconn

Numerical.

uid

Numerical. This parameter is incompatible with user.

user

String. This parameter is incompatible with uid and has a lower precedence if both are defined.

gid

Numerical. This parameter is incompatible with group.

group

String. This parameter is incompatible with gid and has a lower precedence if both are defined.

daemon

Boolean.

nbproc

Numerical.

spread_checks

Numerical.

stats.

Accepts a mappings in the following format:

  • socket ;
  • timeout.

socket

Accepts the following format applies:

  • path,
  • params: optional.

Example:

stats:
  socket:
  - { path: '/run/haproxy/admin.sock', params: 'mode 660 level admin' }

timeout

String.

Example:

stats:
  timeout: 30s

log

Accepts a list of mappings in the following format:

  • address ;
  • facility ;
  • level: optional ;
  • minlevel: optional ;
  • format: optional ;

ssl_default_bind_options

String

ssl_default_bind_ciphers

String

ssl_default_server_options

String

ssl_default_server_ciphers

String