30 lines
587 B
INI
30 lines
587 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.0.1.21:30001 maxconn 32
|
||
|
server server2 10.0.1.21:30001 maxconn 32
|
||
|
server server3 10.0.1.21:30001 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.0.1.21:30181 check
|
||
|
server server2 10.0.1.21:30181 check
|
||
|
server server3 10.0.1.21:30181 check
|