Created
March 26, 2018 10:35
-
-
Save sinansh/965d88f350f628541821a41288736088 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 local0 | |
log 127.0.0.1 local1 notice | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global | |
mode http | |
option httplog | |
option dontlognull | |
option forwardfor | |
option http-server-close | |
stats enable | |
stats auth someuser:somepassword | |
stats uri /haproxyStats | |
frontend http-in | |
bind :80 | |
default_backend web-app-cluster | |
backend web-app-cluster | |
balance rountrobin | |
option httpclose | |
server node1 10.10.1.27 cookie A check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment