29 lines
446 B
Plaintext
29 lines
446 B
Plaintext
global
|
|
log /dev/log local0
|
|
log /dev/log local1 notice
|
|
daemon
|
|
user haproxy
|
|
group haproxy
|
|
|
|
maxconn 200000
|
|
|
|
defaults
|
|
log global
|
|
mode tcp
|
|
option tcplog
|
|
option dontlognull
|
|
|
|
timeout connect 5s
|
|
timeout client 1h
|
|
timeout server 1h
|
|
timeout tunnel 1h
|
|
|
|
frontend fe_tcp_range
|
|
mode tcp
|
|
bind 0.0.0.0:10000-11000
|
|
default_backend be_tcp_range
|
|
|
|
backend be_tcp_range
|
|
mode tcp
|
|
balance roundrobin
|
|
server app1 175.178.59.135 |