Comment on NGINX config for TLS passthrough with multiple services?

<- View Parent
towerful@programming.dev ⁨1⁩ ⁨year⁩ ago

If you are forwarding to multiple services, TCP proxying isnt going to work.
The proxy server has to know where to send the connection, so it has to be protocol-aware. In this case, http/https is the protocol.

Luckily TLS/HTTPS has functionality for this without having to terminate encryption, called SNI.

Here is an article using SNI and nginx.
gist.github.com/…/c09dbab5e78bf76402966b13fa72b9d…

source
Sort:hotnewtop