Created
May 10, 2012 14:46
-
-
Save dspezia/2653628 to your computer and use it in GitHub Desktop.
haproxy to target redis
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 | |
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