Skip to content

Instantly share code, notes, and snippets.

@flores
Created October 18, 2010 20:06
Show Gist options
  • Save flores/632938 to your computer and use it in GitHub Desktop.
Save flores/632938 to your computer and use it in GitHub Desktop.
backend static
balance leastconn
mode http
option http-server-close
#ensures / returns with a 200 OK
option httpchk
# these are small cheap nginx boxes listening on http
server ngnix_downoi downoi.mysite.com:80 check inter 60s rise 5 fall 2
server ngnix_rindica r.indica.mysite.com:80 check inter 60s rise 5 fall 2
server nginx_stellatus p.stellatus.mysite.com:80 check inter 60s rise 5 fall 2
server nginx_belem s.belem.mysite.com:80 check inter 60s rise 5 fall 2
# this is a moderately sized apache2 box listening on http-alt
server apache_wet wet.mysite.com:8080 check inter 60s rise 5 fall 2
# aggressive timeout.
srvtimeout 60s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment