HTTPS and sharing
Every VM is served at https://<vm>.turm.dev. The edge terminates TLS with an automatic certificate and forwards the request to port 80 in the VM.
# in the VMpython3 -m http.server 80Then open https://demo.turm.dev.
Change the port
Section titled “Change the port”ssh turm.dev share port demo 3000Who can open it
Section titled “Who can open it”A new VM’s URL is private: only you can open it, after signing in. Open it up in any of these ways:
ssh turm.dev share set-public demo # anyonessh turm.dev share add demo friend@example.com # one person, by emailssh turm.dev share add-link demo # anyone with the linkUndo them with share set-private, share remove <vm> <email> and share remove-link <vm> <token>. share show <vm> lists the current access.
share add <vm> <email> --root also lets that person SSH into the VM.
Custom domains
Section titled “Custom domains”To serve the VM on your own domain, see Custom domains.