name.boxd.sh. The boxd proxy terminates TLS and forwards HTTP requests to your machine.
Getting started
nginx is pre-installed and configured on port 8000, but disabled by default. Start it:https://myapp.boxd.sh to see a welcome page.
Running your own app
Any process that listens on the proxy’s target port (8000 by default) is reachable via HTTPS. No configuration needed.Changing the port
The default proxy forwards to port 8000, but you can change it:Subdomain proxies
Create additional subdomains pointing to different ports:WebSockets
WebSocket connections work transparently. The proxy detects theUpgrade: websocket header and forwards the connection.
Non-HTTP traffic
The HTTPS proxy speaks HTTP only: it terminates TLS and routes by domain. To reach a database, an SSH daemon, a game server, or any other raw protocol, expose a raw TCP/UDP port instead:HTTP to HTTPS
Plain HTTP requests tohttp://name.boxd.sh are redirected to HTTPS automatically. HSTS headers are included in the response.
DNS
A DNS record is created automatically when your machine boots. The record has a 60-second TTL.Custom domains
Want your own domain instead ofname.boxd.sh? See Custom domains: per-machine, or a wildcard delegated to your whole org.