wget htt p://ww w.h aproxy.org/download/1.9/src/haproxy-1.9.16.tar.gz
tar -zxvf haproxy-1.9.16.tar.gz
cd haproxy-1.9.16
make ARCH=x86_64 TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 USE_ZLIB=1 USE_CRYPT_H=1 USE_CPU_AFFINITY=1 PREFIX=/usr/local/haproxy1.9
make install PREFIX=/usr/local/haproxy1.9
配置
bind :443 ssl crt /ssl/my-cert.pem alpn h2,http/1.1
兼容1.5所有配置
阅读(452) | 评论(0) | 转发(0) |