TLS¶
The tls section allows you to configure TLS for incoming connections.
Fields¶
enabled(bool, required): Iftrue, TCPMux will attempt to perform a TLS handshake on connections that appear to be TLS.config([]SNIConfig, required): A list of TLS configurations for different Server Name Indication (SNI) values.
SNIConfig¶
sni(string, required): The Server Name Indication hostname. Use*to specify a default certificate for any SNI that doesn't have a specific match.cert(string, required): Path to the certificate file.key(string, required): Path to the private key file.
Example: