Is it possible to forward some tls requests based on their domain name to another server (via nginx)?
I have a public nginx server which serves some pages via http and https (in the image b.com). Now I have a VM only reachable via the nginx server, running an apache server. Can I tell my nginx server to forward request (to a.com) to the 10.x.x.x server without touching the tls? Through SNI nginx should know which domain is requested?
I don't have the certificates for a.com on the public server.