forked from lukebakken/docker-rabbitmq-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhaproxy.cfg
More file actions
56 lines (50 loc) · 1.6 KB
/
haproxy.cfg
File metadata and controls
56 lines (50 loc) · 1.6 KB
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
global
log 127.0.0.1 local1
maxconn 128
defaults
log global
mode tcp
option tcplog
retries 3
option redispatch
maxconn 128
timeout connect 5000
timeout client 50000
timeout server 50000
listen stats
bind *:1936
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /
listen rabbitmq
bind *:5672
mode tcp
balance roundrobin
timeout client 3h
timeout server 3h
option clitcpka
server rmq0 rmq0:5672 check inter 5s rise 2 fall 3
server rmq1 rmq1:5672 check inter 5s rise 2 fall 3
server rmq2 rmq2:5672 check inter 5s rise 2 fall 3
listen rabbitmq-stream
bind *:5552
mode tcp
balance roundrobin
timeout client 3h
timeout server 3h
option clitcpka
server rmq0 rmq0:5552 check inter 5s rise 2 fall 3
server rmq1 rmq1:5552 check inter 5s rise 2 fall 3
server rmq2 rmq2:5552 check inter 5s rise 2 fall 3
listen mgmt
bind *:15672
mode tcp
balance roundrobin
timeout client 3h
timeout server 3h
option clitcpka
server rmq0 rmq0:15672 check inter 5s rise 2 fall 3
server rmq1 rmq1:15672 check inter 5s rise 2 fall 3
server rmq2 rmq2:15672 check inter 5s rise 2 fall 3