2017-10-30 09:02:03 +00:00
|
|
|
global
|
|
|
|
maxconn 4096
|
|
|
|
|
|
|
|
defaults
|
|
|
|
log global
|
|
|
|
mode http
|
|
|
|
retries 3
|
|
|
|
option redispatch
|
|
|
|
maxconn 2000
|
|
|
|
timeout connect 5000
|
|
|
|
timeout client 50000
|
|
|
|
timeout server 50000
|
|
|
|
|
|
|
|
frontend TestServerTest
|
|
|
|
bind 0.0.0.0:80
|
|
|
|
mode tcp
|
|
|
|
default_backend TestServerNodes
|
|
|
|
|
2019-08-26 12:40:04 +00:00
|
|
|
frontend TestServerTestV2
|
|
|
|
bind 0.0.0.0:81
|
|
|
|
mode tcp
|
|
|
|
default_backend TestServerNodesV2
|
|
|
|
|
2017-10-30 09:02:03 +00:00
|
|
|
backend TestServerNodes
|
|
|
|
mode tcp
|
2019-08-26 12:40:04 +00:00
|
|
|
server TestServer01 172.17.0.1:8000 send-proxy
|
|
|
|
|
|
|
|
backend TestServerNodesV2
|
|
|
|
mode tcp
|
|
|
|
server TestServer01 172.17.0.1:8000 send-proxy-v2
|