VPS + Caddy

Any Linux server with Docker: the socket behind Caddy, with automatic HTTPS.

Point an A record (live.example.com) at the server's IP, then put these two files in one folder on it and run docker compose up -d. Caddy gets a certificate for the domain and passes WebSockets through on its own.

compose.yaml
Caddyfile

Then manage it from your Mac: in Slash Socket open Fields → + Server, enter its address and admin key, and push a manifest (or set SOCKET_MANIFEST). Pages connect to wss://your-domain with the client from https://your-domain/client.js.