wooooo I have https://github.com/cdr/code-server properly running on my NixOS infra, with proper ssl certificates (even though it's internal/wireguard network only), and as a kiosk'ed chrome pwa
oh and the portforwarding/hosting setup for when i'm testing networked/browser stuff to acces it locally
it has a nice facility to do this proxying through subdomains https://coder.com/docs/code-server/latest/guide#using-a-subdomain