5,657
社区成员
发帖
与我相关
我的任务
分享global
maxconn 32000
nbproc 3
daemon
defaults
mode tcp
retries 3
option abortonclose
maxconn 32000
#timeout connect 300s
#timeout client 300s
#timeout server 300s
timeout connect 10s
timeout client 10m
timeout server 10m
timeout http-keep-alive 10m
log 127.0.0.1 local0 err
listen win_ss
bind 0.0.0.0:3306
mode tcp
option mysql-check user haproxy_check
#balance source
server s1 127.0.0.1:3326 check rise 1 fall 1
server s2 127.0.0.1:3316 check rise 1 fall 1 backup
listen status
bind 0.0.0.0:1188
mode http
stats enable
stats refresh 30s
stats uri /
stats hide-version
stats admin if TRUE