MyNixOS website logo
option

services.tailscale.serve.services.<name>.endpoints

Map of incoming traffic patterns to local targets.

Keys should be in the format <protocol>:<port> or <protocol>:<port-range>. Currently only tcp protocol is supported.

Values should be in the format <protocol>://<host:port> where protocol is http, https, or tcp.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  "tcp:443" = "https://localhost:443";
  "tcp:8080" = "http://localhost:8080";
}