mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
573 B
37 lines
573 B
global
|
|
daemon
|
|
pidfile /tmp/haproxy.pid
|
|
maxconn 4000
|
|
user haproxy
|
|
group haproxy
|
|
|
|
|
|
defaults
|
|
mode tcp
|
|
log local local0
|
|
option tcplog
|
|
timeout connect 10s
|
|
timeout client 15s
|
|
timeout server 15s
|
|
|
|
|
|
listen stats
|
|
mode http
|
|
bind *:10800
|
|
stats enable
|
|
stats refresh 10
|
|
stats uri /haproxy
|
|
stats realm Haproxy\ Statistics
|
|
stats auth {$HA_USER}:{$HA_PWD}
|
|
|
|
|
|
frontend tcp_frontend
|
|
bind *:8090
|
|
mode tcp
|
|
default_backend tcp_backend
|
|
|
|
backend tcp_backend
|
|
mode tcp
|
|
server tcp1 192.168.1.100:8090 check
|
|
|
|
|
|
|