Remote access & HTTPS
In short
The safest way to watch from outside is a VPN such as Tailscale. To publish ReelVault on a domain, put a reverse proxy with HTTPS in front of it, and set four environment variables.
Option 1: a VPN (recommended)
Install Tailscale or WireGuard on your server and on your phone. Your phone reaches ReelVault as if it were at home, and nothing is open to the internet.
If you use Tailscale, add the server's Tailscale address to the allowed origins (see below), so that it can sign you in.
Option 2: a domain with HTTPS
Use a reverse proxy, such as Caddy, nginx or Traefik. It receives HTTPS connections and passes them to ReelVault on port 3030.
This example uses Caddy, which gets the HTTPS certificate by itself:
# Caddyfile
reelvault.example.com {
reverse_proxy 127.0.0.1:3030
}Then set these variables for ReelVault:
APP_PUBLIC_URL=https://reelvault.example.com
APP_ALLOWED_ORIGINS=https://reelvault.example.com
APP_SECURE=true
APP_TRUSTED_PROXY_COUNT=1| Variable | What it does |
|---|---|
APP_PUBLIC_URL | The address people use to reach ReelVault |
APP_ALLOWED_ORIGINS | Extra addresses allowed to use the API, separated by commas. Your local network and localhost are allowed already |
APP_SECURE | Set to true when people reach ReelVault over HTTPS |
APP_TRUSTED_PROXY_COUNT | How many proxies stand in front of ReelVault. Use 1 for one nginx, Caddy or Traefik. The default 0 ignores proxy headers |
Only set APP_COOKIE_DOMAIN if your proxy changes the Origin header. Most setups do not need it.
Use HTTPS on the internet
Never publish ReelVault on the internet over plain HTTP. Passwords and sessions would travel unprotected.
Before you open it to the internet
- Turn on a setup token if the first administrator account does not exist yet. See First-run setup.
- Use strong passwords and turn on two-factor authentication for every admin account.
- Keep the server updated. See Backups & upgrades.
- Keep the login limits. After 10 failed sign-ins on one account (
REELVAULT_LOGIN_ACCOUNT_MAX_ATTEMPTS), further attempts are refused for a while. Leave the default unless you have a reason to change it.
Check the network settings
By default, the installers listen only on your own computer. The --remote and -Remote options open ReelVault to your network.

Next steps
- Web app: connect from phones and other devices.
- Configuration: all environment variables.