-
Notifications
You must be signed in to change notification settings - Fork 0
/
haproxy.cfg
41 lines (36 loc) · 935 Bytes
/
haproxy.cfg
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
global
daemon
group haproxy
maxconn 40000
pidfile /var/run/haproxy.pid
user haproxy
defaults
log 127.0.0.1 local2 warning
mode tcp
option tcplog
option redispatch
retries 3
timeout connect 10s
timeout client 60s
timeout server 60s
timeout check 10s
listen horizon
bind 192.168.0.30:80
mode http
cookie SERVERID insert indirect nocache
option tcplog
timeout client 180s
server controller1 192.168.0.10:80 cookie controller1 check inter 1s
server controller2 192.168.0.11:80 cookie controller2 check inter 1s
listen keystone-admin
bind 192.168.0.30:35357
mode tcp
option tcplog
server controller1 192.168.0.10:35357 check inter 1s
server controller2 192.168.0.11:35357 check inter 1s
listen keystone-public
bind 192.168.0.30:5000
mode tcp
option tcplog
server controller1 192.168.0.10:5000 check inter 1s
server controller2 192.168.0.11:5000 check inter 1s