defaults
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
# This listener is for stats only no proxying
listen stats 192.168.88.10:80
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /
stats auth admin:loyalty # Change this to your own username and password!
# Break Line
listen breakline 192.168.88.13:80
mode tcp
balance roundrobin
# check every 5 seconds. Take down/up after two failed attempts.
server primary 10.156.68.6:80 weight 1 check port 80 inter 5s rise 2 fall 3
server secondary 138.16.222.233:80 backup weight 1 check port 80 inter 5s rise 2 fall 3
No comments:
Post a Comment