-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.yml
85 lines (85 loc) · 2.63 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
#
# The following configuration file is splited in 5 different sections :
# - haproxy_global : Process configuration
# - haproxy_default : Generic configuration used by all other section)
# - haproxy_frontends : where you define Input configuration
# - haproxy_backends : where you can define list of backend server and manage them
# - haproxy_admin : a small webinterface where you can monitor the haproxy status
#
# Some parameters can be really tricky, so I advise you to look the HAProxy documentation : http://www.haproxy.org/download/1.3/doc/configuration.txt
#
# ___________________
# Global parameters
# ___________________
# haproxy_global:
# chroot: {value}
# daemon: {value}
# pidfile: {value}
# gid: {value}
# user: {value}
# group: {value}
# debug: {value}
# quiet: {value}
# description: {value}
# maxconn: {value}
# log:
# - bind: {value}
# facility: {value}
# level: {value}
#
# ___________________
# Defaults parameters
# ___________________
# haproxy_default:
# mode: {value} (values: tcp|http|health)
# retries: {value}
# timeout:
# - {option} {value} (exemple: connect 10s)
# option:
# - {value} (exemple: http-server-close)
# errorfile:
# - {error} {errorfile} (exemple: 500 /etc/haproxy/errors/500.http)
# log:
# - bind: {value}
# facility: {value}
# level: {value}
#
# ___________________
# Frontends parameters (List)
# ___________________
# haproxy_frontends:
# name: {value}
# ip: {value} (exemple: 127.0.0.1)
# bind: {value} (exemple: *:443 ssh crt /etc/haproxy/certificate.pem)
# mode: {value} (values: tcp|http|health)
# default_backend: {value}
# sessions_ratelimit: {value}
# acl:
# - name: {value}
# condition: {value}
# usebackends:
# - name: {value}
# condition: {value}
#
# ___________________
# Backends parameters (List)
# ___________________
# haproxy_backends:
# name: {value}
# mode: {value} (values: tcp|http|health)
# balance: {value} (values: roundrobin,leastconn,source,uri,url_param,hdr,...)
# cookie: {value}
# servers:
# - name: {value}
# ip: {value}
# port: {value}
# params:
# - {value}
# ___________________
# Admin parameters
# ___________________
# haproxy_admin
# bind: {value}
# stats:
# - {value}