I've been casting around for a while for a solution but as yet I'm still stuck

I want to proxy an entire domain, say example.com. There are very many
subdomains - site1.example.com, games.example.com etc

I need to intercept traffic to a handful of these, but pass the
uninteresting ones onward to their original host - by hostname (not by
IP) because an internal DNS server will have supplied a local IP
(bogus) address to the client. I obviously need haproxy to pass the
request to the proper IP address.  I know I can dynamically select a
backend, but that still requires me to know, in advance, all of the
possible servers (which is just not practical in this scenario).

Can this be done with HAProxy at all (if not, is it planned for the
future?)  SNIProxy (https://github.com/dlundquist/sniproxy) allows
this type of wildcard server.

To complicate things, I also need to passthrough HTTPS requests which
other engines, like nginx don't do.

Reply via email to