Created
May 20, 2016 15:52
-
-
Save yuriploc/e42fee27dc6e895a657157c29fb29af9 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
defaults | |
log global | |
maxconn 4096 | |
mode http | |
option httplog | |
option dontlognull | |
option forwardfor | |
option http-server-close | |
timeout connect 5000 | |
timeout client 50000 | |
timeout server 50000 | |
stats enable | |
stats auth yourusername:yourpassword | |
stats uri /yourhaproxy?status | |
daemon | |
frontend http-in | |
bind :80 | |
default_backend web-app | |
backend web-app | |
balance leastconn | |
option httpclose | |
cookie YOURSESSIONID prefix | |
server node1 127.0.0.1:8080 cookie A check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment