Skip to content

Instantly share code, notes, and snippets.

@dspezia dspezia/ha.cfg
Created May 10, 2012

Embed
What would you like to do?
haproxy to target redis
global
daemon
maxconn 256
defaults
mode tcp
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend redis
bind *:1521
default_backend servers
backend servers
server R1 127.0.0.1:6379 maxconn 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.