Created
January 12, 2015 22:42
-
-
Save Xstasy/89d1d1ea222e32dd0287 to your computer and use it in GitHub Desktop.
Test 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 | |
log 127.0.0.1 local0 | |
chroot /var/lib/haproxy | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
log global | |
mode tcp | |
option tcplog | |
option dontlognull | |
listen ftp-balancer | |
bind :21 | |
mode tcp | |
option tcplog | |
timeout server 5000 | |
timeout client 5000 | |
timeout connect 5000 | |
balance leastconn | |
server WAN1 wan1.domain.io:21 send-proxy check | |
server WAN2 wan2.domain.io:21 send-proxy check | |
server WAN3 wan3.domain.io:21 send-proxy check | |
server WAN4 wan4.domain.io:21 send-proxy check | |
server WAN5 wan5.domain.io:21 send-proxy check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment