projects
/
demos
/
kafka
/
chat
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f334457cbf0ff49207a47cd5e2cfc122139a89a6
[demos/kafka/chat]
/
haproxy.cfg
1
# Config from Blog-article "How to Run HAProxy with Docker"
2
defaults
3
mode http
4
timeout client 10s
5
timeout connect 5s
6
timeout server 10s
7
timeout http-request 10s
8
log global
9
10
frontend stats
11
bind *:8404
12
stats enable
13
stats uri /
14
stats refresh 10s
15
16
frontend frontend
17
bind :80
18
default_backend webservers
19
20
backend webservers
21
server s1 web1:80 check
22
server s2 web2:80 check
23
server s3 web3:80 check