Haproxy

Haproxy config

frontend http-mode
	bind *:443
	mode http
	default_backend http-mode
backend http-mode
	mode http
	server web1 172.30.1.2:443 maxconn 32

frontend tcp-mode
	bind *:7999
	mode tcp
	default_backend bitbucket
	option tcplog
backend bitbucket
	mode tcp
	server git1 172.30.1.2:7999 maxconn 32
listen stats # 本地监听
    bind :9000
    mode http
    stats enable
    stats uri /
Infee Fang
Infee Fang
互联网二手搬砖工