Skip to content

Instantly share code, notes, and snippets.

Created April 7, 2015 20:51
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Basic testing configuration for haproxy
timeout connect 200ms
timeout client 1000ms
timeout server 1000ms
mode http
option forceclose
listen stats :3333
mode http
stats enable
stats uri /
stats refresh 1m
stats show-node
frontend test.main
default_backend test.main
backend test.main
option httpchk GET /
server testhttp observe layer7 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment