The --bg flag detaches the serve process so it keeps running after the terminal closes, and --https=443 publishes the local server on the standard HTTPS port. Without --bg, the tunnel dies when you log out. Persist the config with tailscale serve reset for reboot survival.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.