MyNixOS website logo
option

services.wstunnel.servers

wstunnel servers to set up.

Declarations
Type
attribute set of (submodule)
Default
{ }
Example
{
  wg-tunnel = {
    enableHTTPS = true;
    listen = {
      host = "0.0.0.0";
      port = 8080;
    };
    restrictTo = [
      {
        host = "127.0.0.1";
        port = 51820;
      }
    ];
    tlsCertificate = "/var/lib/secrets/fullchain.pem";
    tlsKey = "/var/lib/secrets/key.pem";
  };
}