pieterlouw / caddy-net

Proxy server type for Caddy server (https://github.com/mholt/caddy)
Apache License 2.0
66 stars 11 forks source link

Does it support virtual hosts over TLS? #11

Open lbguilherme opened 6 years ago

lbguilherme commented 6 years ago

If TLS is enabled then the domain name is sent as part of SNI. This could be used to allow serving from a single port and proxying to many others depending on who the host is.

Is this use case possible today?

If not, what would it take to be implemented? What needs to change?

Thanks!