Create a gist now

Instantly share code, notes, and snippets.

@jolynch /haproxy.cfg Secret
Created Apr 7, 2015

Basic testing configuration for haproxy
global
daemon
defaults
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
bind 0.0.0.0:16000
default_backend test.main
backend test.main
option httpchk GET /
server testhttp 0.0.0.0:8001 observe layer7 check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment