-
Notifications
You must be signed in to change notification settings - Fork 0
Remote Access
SimpliAj edited this page Jun 12, 2026
·
1 revision
Access your dashboard from anywhere — phone, other PC, etc.
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.comOpen ports in your firewall:
# UFW
ufw allow 8080
ufw allow 8082 # if using multi-accountThen access at: http://your-server-ip:8080
Set the WEB_PASSWORD environment variable to lock the dashboard:
# PM2
TDM_PORT=8080 WEB_PASSWORD=mysecretpassword pm2 start "python main.py" --name twitchdropsThe dashboard will show a login screen. The session lasts 30 days (cookie-based).
- Go to Settings → Security
- Enter new password → Save
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
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.