Skip to content

Instantly share code, notes, and snippets.

@dbackeus
Created July 29, 2015 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbackeus/7a3ca93acd4071df2651 to your computer and use it in GitHub Desktop.
Save dbackeus/7a3ca93acd4071df2651 to your computer and use it in GitHub Desktop.
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000
frontend localnodes
bind *:7776
mode http
default_backend nodes
backend nodes
mode http
balance roundrobin
option forwardfor
option httpchk GET / HTTP/1.1\r\nHost:localhost
server web01 localhost:7777 check
server web02 localhost:7778 check
server web03 localhost:7779 check
server web04 localhost:7780 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment