Skip to content

tailscale: services.tailscale.serve option broken (set-config doesn't apply HTTPS services) #5

Description

@hasundue

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.nixservices.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions