-
-
Save millken/15d86377925b1f0fe77b to your computer and use it in GitHub Desktop.
haproxy forward
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 local2 | |
chroot /var/lib/haproxy | |
pidfile /var/run/haproxy.pid | |
maxconn 4000 | |
user haproxy | |
group haproxy | |
daemon | |
defaults | |
mode http | |
log global | |
option dontlognull | |
option httpclose | |
#option httplog | |
option tcplog | |
#option forwardfor | |
option redispatch | |
timeout connect 10000 # default 10 second time out if a backend is not found | |
timeout client 300000 | |
timeout server 300000 | |
maxconn 60000 | |
retries 3 | |
frontend tcp-443-front | |
bind *:443 | |
mode tcp | |
default_backend tcp-443-back | |
backend tcp-443-back | |
mode tcp | |
balance leastconn | |
server tcp-443 122.144.208.6:443 |
Author
millken
commented
Jan 25, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment