Last active
January 3, 2016 07:49
-
-
Save Kostassoid/8432321 to your computer and use it in GitHub Desktop.
haproxy config for testing local RabbitMQ cluster using Cygwin.
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 info | |
maxconn 100 | |
user Admin | |
group Administrators | |
stats socket /var/run/haproxy.stat mode 600 level admin | |
daemon | |
defaults | |
log global | |
mode tcp | |
option tcplog | |
option dontlognull | |
retries 3 | |
option redispatch | |
maxconn 2000 | |
timeout connect 5000ms | |
timeout client 0ms | |
timeout server 0ms | |
listen rabbitmq 127.0.0.1:5672 | |
mode tcp | |
balance roundrobin | |
server rabbit1 127.0.0.1:6001 check inter 5000 rise 2 fall 3 | |
server rabbit2 127.0.0.1:6002 check inter 5000 rise 2 fall 3 | |
listen private_monitoring :7100 | |
mode http | |
option httplog | |
stats enable | |
stats uri /stats | |
stats refresh 5s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment