-
-
Save jolynch/75dd9a87282dda57bd71 to your computer and use it in GitHub Desktop.
Basic testing configuration for haproxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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