Skip to content

Reverse Proxy Setup

To use Spokes securely over the internet (and allow browsers and mobile apps to connect), your Web UI must be served over HTTPS.

If you deployed the manual Docker container on your own server or NAS, here is how to set up the two most common reverse proxies.

Nginx Proxy Manager (NPM) provides a clean web interface for managing Let's Encrypt SSL certificates and reverse proxy hosts.

  1. Open your NPM dashboard and navigate to Proxy Hosts.
  2. Click Add Proxy Host.
  3. Details Tab:
    • Domain Names: spokes.yourdomain.com
    • Scheme: http
    • Forward Hostname / IP: The internal LAN IP address of your Spokes server (e.g., 192.168.1.50).
    • Forward Port: 8080 (or your custom Web UI port).
    • Block Common Exploits: Enable
    • Websockets Support: Enable (Crucial: Spokes relies on WebSockets for real-time chat and LiveKit voice signaling).
  4. SSL Tab:
    • Select Request a new SSL Certificate.
    • Check Force SSL.
    • Check HTTP/2 Support.

Nginx Proxy Manager Configuration

  1. Click Save.

Your Spokes Web UI is now accessible over HTTPS.

Cloudflare Tunnels let you expose your Spokes Web UI over HTTPS without opening inbound ports 80 or 443 on your home router.

  1. Create a tunnel in the Cloudflare Zero Trust dashboard (under Networks -> Tunnels).
  2. Install and run the cloudflared connector on your host machine.
  3. In the Public Hostname tab of your tunnel, add a hostname:
    • Subdomain: e.g., spokes
    • Domain: yourdomain.com
    • Service Type: HTTP
    • URL: <your-spokes-lan-ip>:8080 (or localhost:8080 if cloudflared runs on the same host network).