bind *:80
bind *:443 ssl crt /etc/haproxy/keys/pod100.com.pem crt /etc/haproxy/keys/wx.podinns.com.pem crt /etc/haproxy/keys/c.pod100.com.pem
acl ssl hdr_reg(host) -i ^(pod100.com)$
#redirect scheme https code 301 if !{ ssl_fc } ssl
acl host_www_pod100.com hdr_beg(host) -i www.pod100.com
redirect prefix http://pod100.com if host_www_pod100.com
acl host_i2.com hdr_beg(host) -i i2.pod100.com
redirect prefix http://pod100.com if host_i2.com
acl host_i3.com hdr_beg(host) -i i3.pod100.com
redirect prefix http://pod100.com if host_i3.com
acl host_i4.com hdr_beg(host) -i i4.pod100.com
redirect prefix http://pod100.com if host_i4.com
acl host_ii.com hdr_beg(host) -i ii.pod100.com
redirect prefix http://pod100.com if host_ii.com
acl www_i2_com hdr_beg(host) -i i2.pod
haproxy 多域名 多证书绑定
最新推荐文章于 2024-07-19 13:00:00 发布