Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
stats socket /var/run/haproxy.sock mode 600 level admin
resolvers consul
nameserver dns
mode http
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
frontend http
bind *:80
default_backend api
backend api
balance roundrobin
server-template api 100 _api.service.consul init-addr none resolvers consul check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.