Sha256: 970012170f521ba1c171c318e85212e3026bc515a5dd135b62407d8f4b84ae31

Contents?: true

Size: 714 Bytes

Versions: 34

Compression:

Stored size: 714 Bytes

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
      option forwardfor
      stats enable
      stats auth myuser:mypass
      balance roundrobin
      option httpclose
      mode http
      retries 3
      option redispatch
      maxconn 2000
      contimeout 5000
      clitimeout 50000
      srvtimeout 50000

listen example_lb *:81
      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

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
deprec-2.2.0 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.19 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.18 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.17 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.16 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.14 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.13 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.12 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.11 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.10 lib/deprec/templates/haproxy/haproxy.cfg.erb
deprec-2.1.8 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.023 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.022 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.021 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.020 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.019 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.018 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.017 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.016 lib/deprec/templates/haproxy/haproxy.cfg.erb
le1t0-deprec-2.1.6.015 lib/deprec/templates/haproxy/haproxy.cfg.erb