fivetrees ~ # cat /etc/haproxy.cfg
global
maxconn 10000
ulimit-n 65536
uid 0
gid 0
nbproc 1
daemon
quiet
pidfile /var/run/haproxy.pid
defaults
mode http
balance roundrobin
option dontlognull
option httpclose
option forwardfor
contimeout 4000
clitimeout 150000
srvtimeout 150000
maxconn 4000
option redispatch
retries 3
grace 20000
frontend http_server
bind *:80
default_backend servers
backend servers
server server120 192.168.1.120:80
fivetrees ~ #
阅读(2673) | 评论(0) | 转发(0) |