-
Notifications
You must be signed in to change notification settings - Fork 11
listen
The listen section can be configured with the YAML tree haproxy_listen
.
String.
List, optional.
Examples:
bind:
- 0.0.0.0:80
- 0.0.0.0:1937
Optional and only useful in conjunction to bind as it will be applied to each of its elements.
Accepts a mapping in the following format:
- cert: optional ;
- ciphers: optional.
Boolean, optional.
String, optional.
Optional.
Accepts a list of mappings in the following format:
- name ;
- ip ;
- port: optional ;
- maxconn: optional ;
- params: list, optional.
Example:
servers:
- name: concorde
ip: 127.0.0.1
params:
- check
Numerical, optional.
String, optional.
String, optional.
String, optional.
Example:
mode: http
String, optional.
List, optional.
Numerical, optional and deprecated.
String, optional.
List, optional.
List, optional.
Optional.
Accepts a mapping in the following format:
- param ;
- value.
Example:
timout:
- param: connect
value: 5000
List, optional.
List, optional.
List, optional.
List, optional.
List, optional.
List, optional.
String, optional.
Accepts a mapping containing the following items:
- enabled: boolean, optional ;
- hide_version: boolean, optional ;
- uri: optional ;
- realm: optional ;
- auth: optional ;
- refresh: optional.
Example:
stats:
enabled: true
hide_version: true
String, optional.