Welcome! Log In Create A New Profile

Advanced

How to combine ssl_preread_protocol with ssl_preread_server_name (ssh-multiplexing and ssl-sni-passthrough) ?

Posted by schmierfink 
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
https://forum.nginx.org/read.php?11,260587,270659#msg-270659

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready