Question:
I want to run both ssh and a webserver on port 443/SSL.
Also known as SSL-port-multiplexing.
At the same time, I want to use ssl-passthrough with SNI.
For ssh-multiplexing, I use $ssl_preread_protocol.
For SSL-SNI-passthrough, I use $ssl_preread_server_name
How can I combine the two map instructions ?
So it goes to ssh if ssh, and to the correct SSL-backend for each SNI if it's https.
More information including config file here:
https://serverfault.com/questions/1049158