I have two different backend services that both listen on tcp/443. Is it possible to frontend these two services with haproxy, also listening on tcp/443, and depending on the service request via header inspection route the request to the appropriate backend service?
I suspect haproxy would have to terminate the ssl connection first, inspect it, and second pass it on to the correct backend service listening on tcp/443. Is this possible? FWIW, the same wildcard cert is used on the backend services and is available for use by haproxy.
Thanks for the help