On 21/02/2016 05:43, Jeff Palmer wrote:
You'd probably want to use host header ACLs, and then a use_backend with
each acl to select the correct backend.
But the Host header is for HTTP only.
My question is:
I have more then two services and each one of them is using either a TCP
or HTTP based protocol.
Haproxy can balance them separately for different ports and IPS.
But can I use the SNI hostname to define which backend will haproxy use
and by that choose also between different protocol?
The case I have is that I have a SSL service that has one domain with
HTTPS and the other some propitiatory TCP protocol over SSL.
If I can use them both with the same IP it will make my life much easier
to do couple things.
Eliezer