Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
global
stats socket /var/run/haproxy.sock mode 600 level admin
resolvers consul
nameserver dns 127.0.0.1:8600
defaults
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.