Created
April 27, 2020 14:59
-
-
Save zdk/80b9d9fe2c041d0416d2d3a7249553e5 to your computer and use it in GitHub Desktop.
Super bare minimum HAProxy config
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
listen http-in | |
mode http | |
bind *:80 | |
server web1 172.22.20.21:8080 check | |
server web2 172.22.20.22:8080 check | |
server web3 172.22.20.23:8080 check | |
stats enable | |
stats refresh 3s | |
stats show-node | |
stats uri /haproxy?stats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment