Created
May 8, 2012 06:51
-
-
Save dakatsuka/2633127 to your computer and use it in GitHub Desktop.
HAProxy configuration for RabbitMQ
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 local0 | |
log 127.0.0.1 local1 notice | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
listen rabbitmq 0.0.0.0:5672 | |
mode tcp | |
log global | |
retries 3 | |
contimeout 5000 | |
clitimeout 0 | |
srvtimeout 0 | |
option tcplog | |
option persist | |
balance leastconn | |
server disk0001 disk0001.localhost.localdomain:5672 check | |
server disk0002 disk0002.localhost.localdomain:5672 check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍