29 lines
599 B
INI
29 lines
599 B
INI
global
|
|
daemon
|
|
maxconn 256
|
|
|
|
defaults
|
|
mode http
|
|
timeout connect 5000ms
|
|
timeout client 50000ms
|
|
timeout server 50000ms
|
|
|
|
listen http-in
|
|
bind *:80
|
|
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
|
|
|
|
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
|
|
server server1 10.42.23.21:30143 check
|
|
server server2 10.42.23.22:30143 check
|
|
server server3 10.42.23.23:30143 check
|