Created
June 24, 2013 00:03
-
-
Save athiwatc/5846999 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 gw 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 gw001 localhost:9001 check cookie gw001 | |
server gw002 localhost:9002 check cookie gw002 | |
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