-
Notifications
You must be signed in to change notification settings - Fork 1
/
synapse.conf.json
47 lines (47 loc) · 995 Bytes
/
synapse.conf.json
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
{
"services": {
"web": {
"discovery": {
"method": "dns",
"nameserver": "127.0.0.1",
"check_interval": 5,
"servers": [
{
"host": "web.service.consul",
"port": 80
}
]
},
"haproxy": {
"server_options": "check inter 2s rise 3 fall 2",
"listen": [
"mode http",
"option httplog"
],
"port": 80,
"backend": [
"mode http",
"option httpchk GET / HTTP/1.0"
]
}
}
},
"haproxy": {
"reload_command": "systemctl restart haproxy.service",
"config_file_path": "/etc/haproxy/haproxy.cfg",
"do_writes": true,
"do_reloads": true,
"do_socket": false,
"bind_address": "0.0.0.0",
"global": [
"daemon",
"user haproxy",
"group haproxy"
],
"defaults": [
"option redispatch",
"option http-server-close",
"balance static-rr"
]
}
}