- Tengine Stream SNI
Provide information about how to enable SNI in Stream module.
Build Tengine with configuration item
Syntax: server_name hostname;
server_name used in Stream module makes Tengine have the ability to listen same ip:port in multiply server blocks.
The connection will be attached to a certain server block by SNI extension in TLS. That means
server_name should be used with SSL offloading(using
Syntax: ssl_sni_force on|off;
Context: stream, server
ssl_sni_force will determine whether the TLS handsheke is rejected or not if SNI is not matched with server name which we configure by
server_name in Stream module.
This feature is experimental. We will deprecate this feature if there is any conflict with similar feature of Nginx official.