2019-04-16 11:37:13 +00:00
|
|
|
global
|
|
|
|
daemon
|
|
|
|
maxconn 256
|
|
|
|
|
|
|
|
defaults
|
|
|
|
mode http
|
|
|
|
timeout connect 5000ms
|
|
|
|
timeout client 50000ms
|
|
|
|
timeout server 50000ms
|
|
|
|
|
|
|
|
listen http-in
|
|
|
|
bind *:80
|
2019-05-22 11:37:13 +00:00
|
|
|
server server1 10.42.23.21:30080 maxconn 32
|
|
|
|
server server2 10.42.23.22:30080 maxconn 32
|
|
|
|
server server3 10.42.23.23:30080 maxconn 32
|
2019-04-16 11:37:13 +00:00
|
|
|
|
|
|
|
listen https-in
|
|
|
|
bind *:443
|
|
|
|
mode tcp
|
|
|
|
option tcplog
|
|
|
|
timeout client 1m
|
|
|
|
option log-health-checks
|
|
|
|
option redispatch
|
|
|
|
log global
|
|
|
|
timeout connect 10s
|
|
|
|
timeout server 1m
|
2019-05-22 11:37:13 +00:00
|
|
|
server server1 10.42.23.21:30143 check
|
|
|
|
server server2 10.42.23.22:30143 check
|
|
|
|
server server3 10.42.23.23:30143 check
|