一门APP开发教程
标题:
Haproxy 安装SSL
[打印本页]
作者:
希望工程boss
时间:
2020-7-7 16:53
标题:
Haproxy 安装SSL
Haproxy 安装SSL
frontend www.mysite.com
bind 10.0.0.3:80
bind 10.0.0.3:443 ssl crt /etc/ssl/certs/mysite.pem ssl-min-ver TLSv1.0
http-request redirect scheme https unless { ssl_fc }
default_backend web_servers
backend web_servers
balance roundrobin
server server1 10.0.1.3:80 check maxconn 20 ssl
server server2 10.0.1.4:80 check maxconn 20 ssl
复制代码
欢迎光临 一门APP开发教程 (https://bbs.yimenapp.com/)
Powered by Discuz! X3.4