Created
June 24, 2015 05:03
-
-
Save yuuichi-fujioka/d5bba09fbe221c83c009 to your computer and use it in GitHub Desktop.
simple haproxy.cfg
This file contains hidden or 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 | |
maxconn 256 | |
defaults | |
mode http | |
timeout connect 5000ms | |
timeout client 50000ms | |
timeout server 50000ms | |
frontend http-in | |
bind *:80 | |
default_backend webserver | |
backend webserver | |
balance roundrobin | |
server web001 192.168.0.10:80 check | |
server web002 192.168.0.11:80 check | |
server web003 192.168.0.12:80 check | |
listen admin | |
bind *:8080 | |
stats enable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment