Skip to content

Remote Access

SimpliAj edited this page Jun 12, 2026 · 1 revision

Remote Access

Access your dashboard from anywhere — phone, other PC, etc.


Option A: Nginx Reverse Proxy (Recommended)

Expose port 80/443 only, route internally.

server {
    listen 80;
    server_name your-domain.com;

    location / {
        proxy_pass http://127.0.0.1:8080/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }
}

For HTTPS, add a Let's Encrypt certificate:

certbot --nginx -d your-domain.com

Option B: Direct Port Access

Open ports in your firewall:

# UFW
ufw allow 8080
ufw allow 8082  # if using multi-account

Then access at: http://your-server-ip:8080


Password Protection

Set the WEB_PASSWORD environment variable to lock the dashboard:

# PM2
TDM_PORT=8080 WEB_PASSWORD=mysecretpassword pm2 start "python main.py" --name twitchdrops

The dashboard will show a login screen. The session lasts 30 days (cookie-based).

Change Password

  1. Go to Settings → Security
  2. Enter new password → Save

Session Cookie

After logging in, the browser stores a 30-day session cookie. You stay logged in across browser restarts until:

  • The cookie expires
  • You click System → Logout
  • The server restarts with a different WEB_PASSWORD

Multi-Account Remote Access

For the two-account setup with Nginx, both accounts are accessible through one domain:

URL Account
https://your-domain.com/ Account 1
https://your-domain.com/acc2/ Account 2

See Multi-Account for the full Nginx config.

Clone this wiki locally