Skip to content

Instantly share code, notes, and snippets.

@aledbf
Forked from Philmod/storifyeditor-haproxy.cfg
Created October 18, 2015 00:54
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 aledbf/3e0ee0b154b0dc2e7aab to your computer and use it in GitHub Desktop.
Save aledbf/3e0ee0b154b0dc2e7aab to your computer and use it in GitHub Desktop.
global
log 127.0.0.1:514 local0
defaults
mode http
log global
option httplog
option http-server-close
option dontlognull
option redispatch
option contstats
retries 3
backlog 10000
timeout client 25s
timeout connect 5s
timeout server 25s
timeout tunnel 3600s
timeout http-keep-alive 1s
timeout http-request 15s
timeout queue 30s
timeout tarpit 60s
default-server inter 3s rise 2 fall 3
option forwardfor
frontend storify_editor_frontend
bind *:3030 accept-proxy name storify_editor_frontend
maxconn 1000
default_backend storify_editor_backend
backend storify_editor_backend
timeout check 5000
option httpchk GET /status?all=1
balance source
server storifyeditor1.prod.livefyre.com storifyeditor1.prod.livefyre.com:3030 maxconn 1000 weight 10 cookie websrv1 check inter 10000 rise 1 fall 3
server storifyeditor2.prod.livefyre.com storifyeditor2.prod.livefyre.com:3030 maxconn 1000 weight 10 cookie websrv1 check inter 10000 rise 1 fall 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment