Problem
The NixOS option services.tailscale.serve.services.<name>.endpoints."tcp:PORT" = "http://localhost:PORT" generates a config file and applies it via tailscale serve set-config --all. However, set-config creates services as HTTP, not HTTPS. Since the text output of tailscale serve status only shows HTTPS/advertised services, the config appears not to be applied at all.
Context
- tailscale v1.96.5
set-config --all returns exit code 0 but applies HTTP (not HTTPS) services
tailscale serve --bg --https 4096 http://localhost:4096 works correctly (HTTPS)
- The config file format (huJSON) has no way to specify
"HTTPS": true
- See
configs/nixos/default.nix — services.tailscale.serve is currently disabled
Upstream
Search
Also check for new issues/PRs matching: serve set-config, HTTPS serve config with the bug or pod/network-features label.
Problem
The NixOS option
services.tailscale.serve.services.<name>.endpoints."tcp:PORT" = "http://localhost:PORT"generates a config file and applies it viatailscale serve set-config --all. However,set-configcreates services as HTTP, not HTTPS. Since the text output oftailscale serve statusonly shows HTTPS/advertised services, the config appears not to be applied at all.Context
set-config --allreturns exit code 0 but applies HTTP (not HTTPS) servicestailscale serve --bg --https 4096 http://localhost:4096works correctly (HTTPS)"HTTPS": trueconfigs/nixos/default.nix—services.tailscale.serveis currently disabledUpstream
Tailscale serve set-config registers services as http instead of https
Search
Also check for new issues/PRs matching:
serve set-config,HTTPS serve configwith thebugorpod/network-featureslabel.