Domain bindings
The edge carries a domain’s requests to a machine over the machine’s tunnel, at the port the route names. TLS terminates at the edge.
Bind a domain to a machine
Section titled “Bind a domain to a machine”Create a tunnel, assign it to the machine, and point a path on the domain at it:
deployport via tunnels create --label apideployport machinery assign-tunnel <machine-id> <tunnel-id>deployport via domains resources create-tunnel-route --domain api.example.com --path / --tunnel-id <tunnel-id> --port 8080The tunnel belongs to the account and outlives any machine, so reassigning it to another machine keeps the routes that point at it.