Sha256: 1ee7b211e1f49b66508409122e8b5612c841f76f857e4ec6ccabefb0e4cb98f0
Contents?: true
Size: 1.03 KB
Versions: 18
Compression:
Stored size: 1.03 KB
Contents
# /etc/haproxy.cfg # # Reload gracefully with: # # haproxy -f /etc/haproxy.cfg -sf `cat /var/run/haproxy.pid` # global log /var/log/haproxy.log daemon info maxconn 4096 pidfile /var/run/haproxy.pid daemon defaults # Stats page at /haproxy?stats stats enable stats auth admin:secret mode http option forwardfor # Adds X-Forwarded-For header to http reqs option httpclose # Needed for forwardfor balance roundrobin retries 3 option redispatch maxconn 2000 contimeout 5000 clitimeout 50000 srvtimeout 50000 frontend web *:80 acl www hdr_beg(host) -i www acl ip_local src 192.168.0.0/24 use_backend example_lb if www ip_local default_backend localhost backend example_lb option httpchk HEAD /check.txt HTTP/1.0 server web1 127.0.0.1:80 weight 6 maxconn 12 check # cookie A server web2 127.0.0.1:80 weight 10 maxconn 12 check # cookie B backend localhost server LOCALHOST 127.0.0.1:80
Version data entries
18 entries across 18 versions & 1 rubygems