Simple Linux Panel
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.
mdserver-web/plugins/haproxy/conf/haproxy.conf

40 lines
685 B

3 years ago
global
3 years ago
daemon
1 year ago
#一般情况下,可关闭
log 127.0.0.1 local0
pidfile /tmp/haproxy.pid
3 years ago
maxconn 4000
user haproxy
group haproxy
defaults
mode http
log global
option httplog
timeout connect 10s
timeout client 15s
timeout server 15s
listen stats
mode http
bind *:10800
stats enable
stats refresh 10
3 years ago
stats uri /haproxy
stats realm Haproxy\ Statistics
stats auth admin:admin
frontend http-in
bind *:1080
default_backend servers
option forwardfor
#option httpclose
option http-keep-alive
3 years ago
backend servers
balance roundrobin
server web1 0.0.0.0:9090 check inter 2000 rise 2 fall 5
3 years ago
3 years ago