Skip to content

Instantly share code, notes, and snippets.

@t0mmyt
Created July 19, 2017 13:21
Show Gist options
  • Save t0mmyt/433f7efa26f3d03c460fe03124886208 to your computer and use it in GitHub Desktop.
Save t0mmyt/433f7efa26f3d03c460fe03124886208 to your computer and use it in GitHub Desktop.
HAProxy API Server
defaults
log global
timeout connect 5000
timeout client 50000
timeout server 50000
resolvers vpc
nameserver aws 172.18.0.2:53
hold valid 10s
listen api-intercept
bind 127.0.0.1:443
mode tcp
server apiserver api.blue.kube.usw.co:443 resolvers vpc check inter 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment