Skip to content

Instantly share code, notes, and snippets.

@loren
Last active December 6, 2016 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loren/c4eca3cd7b638a97346843bdef62a2d4 to your computer and use it in GitHub Desktop.
Save loren/c4eca3cd7b638a97346843bdef62a2d4 to your computer and use it in GitHub Desktop.
haproxy
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