HA Proxy - Shared TCP?
-
Can HA proxy be configured to route TCP connections by host name?
Example: I have three applications that communicate over 443
Each has a host name
host1.domain.com to server 1
host2.domain.com to server 2
host3.domain.com to server 3When i change the front end type to tcp the option in the ACL is lost for "host matches" is not available.
Thanks in advance.
vito
-
No, you can't do that.
HTTP protocol includes HOST directive to allow endpoint to understand which website is accessed (see https://en.wikipedia.org/wiki/File:Http_request_telnet_ubuntu.png for example).
TCP protocol does not have such functionality, it doesn't even know anything about hostnames or websites, it works with IPs only.