I would like to set up HAProxy to terminate SSL or pass through connection depends from hostname, exposing only one public IP address. For example
Internet -> domain web1.example.com (10.10.10.1) HAproxy SSL termination -> Backend (10.10.10.10)
Internet -> domain web2.example.com (10.10.10.1) HAproxy Pass through -> Backend (10.10.10.20)
I would like to have like that to allow possibility mTLS for web2.example.com
Is it possible using only one public IP?
Thanks.