services.sslh.settings.protocols

List of protocols sslh will probe for and redirect. Each protocol entry consists of:

See the documentation for all options, including probe-specific ones.

Type
list of attribute set of (libconfig value)
Default
[
  {
    host = "localhost";
    name = "ssh";
    port = "22";
    service = "ssh";
  }
  {
    host = "localhost";
    name = "openvpn";
    port = "1194";
  }
  {
    host = "localhost";
    name = "xmpp";
    port = "5222";
  }
  {
    host = "localhost";
    name = "http";
    port = "80";
  }
  {
    host = "localhost";
    name = "tls";
    port = "443";
  }
  {
    host = "localhost";
    name = "anyprot";
    port = "443";
  }
]
Declared
<nixpkgs/nixos/modules/services/networking/sslh.nix>