| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions! Dokkio, a new product from the PBworks team, integrates and organizes your Drive, Dropbox, Box, Slack and Gmail files. Sign up for free.

View
 

HAProxy Quick Config

Page history last edited by Elizabeth Leddy 10 years, 4 months ago

global

    log 127.0.0.1 local0

    daemon

    pidfile /var/run/haproxy.pid

    user nobody

    group nobody

defaults

    log global

    mode http

    option httplog

    option httpclose

    option abortonclose

    option httpchk

    option redispatch

    clitimeout 180000

    srvtimeout 180000

    contimeout 10000

    errorloc 503 /srv/web/htdocs/high_load.html

    errorloc 408 /srv/web/htdocs/high_load.html

listen my-proxy 127.0.0.1:9091

    balance leastconn

    stats enable

    stats uri /haproxy-status

    server zope0 10.0.x.xxx:8080 check

    server zope1 10.0.x.xxx:8081 check

    server zope2 10.0.x.xxx:8082 check backup

    server zope3 10.0.x.xxx:8083 check

Comments (0)

You don't have permission to comment on this page.