Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- stats socket /tmp/haproxy.socket level admin
- uid 80
- gid 80
- nbproc 1
- chroot /tmp/haproxy_chroot
- daemon
- listen HAProxyLocalStats
- bind 127.0.0.1:2200 name localstats
- mode http
- stats enable
- stats admin if TRUE
- stats uri /haproxy_stats.php?haproxystats=1
- timeout client 5000
- timeout connect 5000
- timeout server 5000
- frontend CTWebFrontendCC
- bind x.x.x.x:80 name x.x.x.x:80
- mode http
- log global
- option http-keep-alive
- option forwardfor
- acl https ssl_fc
- reqadd X-Forwarded-Proto:\ http if !https
- reqadd X-Forwarded-Proto:\ https if https
- timeout client 30000
- default_backend CTWebPool_http_ipvANY
- frontend CTWebFrontendATT
- bind y.y.y.y:80 name y.y.y.y:80
- mode http
- log global
- option http-keep-alive
- option forwardfor
- acl https ssl_fc
- reqadd X-Forwarded-Proto:\ http if !https
- reqadd X-Forwarded-Proto:\ https if https
- timeout client 30000
- default_backend CTWebPool_http_ipvANY
- backend CTWebPool_http_ipvANY
- mode http
- option log-health-checks
- cookie SERVERID insert indirect nocache
- balance roundrobin
- timeout connect 30000
- timeout server 30000
- retries 3
- option httpchk OPTIONS /CheckCTWeb/CheckCTWeb
- server Server1 172.20.116.150:80 cookie Server1 check inter 1000 agent-check agent-inter 2000 agent-port 3333 weight 100
- server Server2 172.20.116.151:80 cookie Server2 check inter 1000 agent-check agent-inter 2000 agent-port 3333 weight 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement