Skip to content

Instantly share code, notes, and snippets.

@david-batranu
Created June 25, 2015 08:31
Show Gist options
  • Save david-batranu/8a75f70b5306b04712a3 to your computer and use it in GitHub Desktop.
Save david-batranu/8a75f70b5306b04712a3 to your computer and use it in GitHub Desktop.
global
maxconn 256
defaults
mode http
timeout check 3000ms
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend http-in
bind *:80
default_backend servers
backend servers
server instance1 instance1:8080 maxconn 32 check inter 2000ms rise 2 fall 2
server instance2 instance2:8080 maxconn 32 check inter 2000ms rise 2 fall 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment