-
-
Save aaronblohowiak/997967e1ba9b29908296 to your computer and use it in GitHub Desktop.
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 | |
stats socket haproxy.sock level admin | |
listen redis | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms | |
bind localhost:7000 | |
mode tcp | |
server master 127.0.0.1:7001 observe layer4 on-error sudden-death | |
server slave 127.0.0.1:7777 observe layer4 backup | |
listen pubwww | |
mode http | |
bind localhost:3000 | |
stats enable | |
stats uri /admin?stats | |
stats realm Haproxy\ Statistics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment