M
M
mr_blond972015-09-20 01:54:40
HAproxy
mr_blond97, 2015-09-20 01:54:40

How to set up multiple frontends with different ssl certificates in haproxy?

If you need to set up multiple frontends on port 80, do it like this:

frontend http-proxy
 bind *:80
 mode http
 acl web1 hdr_beg(host) www.website1.com
 acl web2 hdr_beg(host) www.website2.com
 use_backend http-web2 if web2
 default_backend http-web1

How to set up multiple frontends on port 443 with different ssl certificates?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question