最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

HA Proxy Route based Config on different port - Stack Overflow

programmeradmin5浏览0评论

I have below haproxy config.

frontend  main
bind :443           ssl crt /etc/haproxy/example.uat.pem ciphers DEFAULT:!LOW:!RC4-SHA:!RC4-MD5:!DES-CBC-SHA:!DES-CBC3-SHA no-sslv3 no-tlsv10 no-tlsv11
bind :80
timeout queue 10s
http-request redirect scheme https code 301 unless { ssl_fc }
acl url_bdh       hdr_dom(host)      -i example.uat

use_backend app         if url_bdh
backend app
balance     roundrobin
server      bdh  127.0.0.1:8443 check ssl verify none

I want to create one more route as below. example.uat:8443/alert

It will be also on https and should use the same cert. Can someone suggest on what to add in config. The original example.uat should be run on 443 only.

Thanks

发布评论

评论列表(0)

  1. 暂无评论