Created
December 13, 2014 20:07
-
-
Save Philmod/356f7c161fc670e5667d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
HI
I am having trouble in this setup. If I keep my node part same as bind port , then haproxy is not starting.