MyNixOS website logo
option

services.wstunnel.servers.<name>.listen

Address and port to listen on. Setting the port to a value below 1024 will also give the process the required CAP_NET_BIND_SERVICE capability.

Declarations
Type
submodule
Default
{
  host = "0.0.0.0";
  port = if enableHTTPS then 443 else 80;
}