
I self-hosted code-server on Ubuntu 24.04 — the editor died without HTTPS
I wanted VS Code in the browser with the workspace staying on the VPS. code-server started; webviews threw ServiceWorker SecurityError until I put Let’s Encrypt in front. After hashed-password auth and WebSocket headers, the terminal stayed connected.
Aug 16, 2026 · 4 min read