Skip to content

Instantly share code, notes, and snippets.

@mculp
Last active August 29, 2015 13:56
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 mculp/9310739 to your computer and use it in GitHub Desktop.
Save mculp/9310739 to your computer and use it in GitHub Desktop.
haproxy setup
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