-
-
Save micheee/e32854f0e35f14d0e863 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 | |
log 127.0.0.1 local1 notice | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull | |
option redispatch | |
maxconn 2000 | |
contimeout 5000 | |
clitimeout 50000 | |
srvtimeout 50000 | |
http-send-name-header Host | |
option forwardfor | |
option httpclose | |
stats enable | |
stats uri /haproxy?stats | |
listen jiffy | |
bind *:8181 | |
default_backend repo | |
backend repo | |
balance source | |
server target-machine:8766 target-machine:8766 maxconn 32 | |
server target-machine:8767 target-machine:8767 maxconn 32 | |
server target-machine:8768 target-machine:8768 maxconn 32 | |
server target-machine:8769 target-machine:8769 maxconn 32 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment