Skip to content

Instantly share code, notes, and snippets.

@jamesmoriarty
Forked from kevinburke/haproxy.config
Created October 17, 2013 01:49
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 jamesmoriarty/7018048 to your computer and use it in GitHub Desktop.
Save jamesmoriarty/7018048 to your computer and use it in GitHub Desktop.
# Twilio HTTP HAProxy Configuration
# Version: 0.1
global
daemon
log 127.0.0.1 local0 info
maxconn 60000
spread-checks 3
defaults twilio-defaults
log global
maxconn 1000
mode http
option http-server-close
timeout client 6s
timeout server 6s
timeout connect 4s
option redispatch
retries 2
frontend twilio-frontend
bind 127.0.0.1:1xxxx # insert your port number here
default_backend twilio-backends
option httplog
backend twilio-backends
balance roundrobin
option httpchk GET /healthcheck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment