Last active
August 29, 2015 13:56
-
-
Save mculp/9310739 to your computer and use it in GitHub Desktop.
haproxy setup
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
listen multi :6667 | |
mode tcp | |
option tcplog | |
acl use_ruby payload(0,50) -i jimmyneutron | |
# acl use_ruby payload(0,50) -m sub jimmyneutron | |
# acl use_ruby payload(0,50) -m reg jimmyneutron | |
use-server ruby if use_ruby | |
server diamond 127.0.0.1:3420 check | |
server ruby 127.0.0.1:3342 check | |
server sapphire 127.0.0.1:3345 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment