Last active
December 6, 2016 17:56
-
-
Save loren/c4eca3cd7b638a97346843bdef62a2d4 to your computer and use it in GitHub Desktop.
haproxy
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 | |
mode tcp | |
contimeout 50000000 | |
clitimeout 50000000 | |
srvtimeout 50000000 | |
errorfile 400 /etc/haproxy/errors/400.http | |
errorfile 403 /etc/haproxy/errors/403.http | |
errorfile 408 /etc/haproxy/errors/408.http | |
errorfile 500 /etc/haproxy/errors/500.http | |
errorfile 502 /etc/haproxy/errors/502.http | |
errorfile 503 /etc/haproxy/errors/503.http | |
errorfile 504 /etc/haproxy/errors/504.http | |
listen appname 0.0.0.0:80 | |
mode tcp | |
balance roundrobin | |
server mybackend kibana-0-server.elastic.mesos:5601 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment