-
-
Save iksose/9860823 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 | |
daemon | |
defaults | |
mode http | |
timeout connect 86400000 | |
timeout server 86400000 | |
timeout client 86400000 | |
timeout check 5s | |
frontend pegleg 127.0.0.1:9000 | |
mode tcp | |
default_backend node | |
tcp-request inspect-delay 500ms | |
tcp-request content accept if HTTP | |
backend node | |
balance roundrobin | |
cookie SERVERID insert nocache indirect | |
option forwardfor if-none | |
option httpchk GET /ping | |
no option httpclose | |
option http-server-close | |
option forceclose | |
server pegleg001 localhost:9001 check cookie pegleg001 | |
server pegleg002 localhost:9002 check cookie pegleg002 | |
server pegleg003 localhost:9003 check cookie pegleg003 | |
listen stats 127.0.0.1:9999 | |
mode http | |
timeout client 5000 | |
timeout connect 5000 | |
timeout server 5000 | |
stats enable | |
stats hide-version | |
stats uri / | |
stats scope node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment