Guide
Caesa Bridge 2.0 in depth
For anyone who knows their way round reverse proxies, tunnels or PowerShell, and wants every option. Most people only need Install Caesa Bridge, where the setup window does all of this for you.
How the Bridge reaches your phone
phone ── https ──▶ your way in ──┬── /caesa/… ──▶ Caesa Bridge (port 8743)
└── everything else ──▶ Blue Iris (as before)
Caesa Bridge ── once a second, on the PC itself ──▶ Blue Iris
- The Bridge runs on the Blue Iris PC, as Windows’ built-in LOCAL SERVICE account, from a scheduled task called Caesa Bridge. It asks Blue Iris for new alerts once a second over the PC’s own loopback address.
- It listens on port 8743, under
/caesa/. Its status page is onhttp://127.0.0.1:8742/, which only works on that PC. - Caesa looks for the Bridge at the same address as Blue Iris, under
/caesa/. So whatever way you reach Blue Iris has to send/caesa/to port 8743 on the Blue Iris PC. - Phones sign in with their own Blue Iris logins, and Blue Iris checks them. The Bridge keeps no passwords.
Which setup suits how you reach Blue Iris
| How you reach Blue Iris | What setup does | What you do |
|---|---|---|
| At home, or a VPN (WireGuard, your router’s VPN, Tailscale on the Blue Iris PC) | Installs the Bridge and lets phones on your network reach it | Nothing |
| Set up https for me | Installs Caddy and gets a free Let’s Encrypt certificate | Get a name for your home and forward one port |
| Keep plain http, through Caddy (not encrypted) | Puts Caddy in front of Blue Iris, with no certificate | Move Blue Iris to another port, or point your router’s forward at Caddy |
| Your own reverse proxy (nginx, Nginx Proxy Manager, Caddy, Traefik, HAProxy) | Installs the Bridge, and only lets your proxy through the firewall | Add one rule to the proxy |
| Cloudflare Tunnel | Reads the tunnel’s routes and says what’s missing | Add one route in Cloudflare’s dashboard |
| Tailscale Funnel or Serve | Reads what Tailscale serves and gives the command to run | Run one command |
| stunnel | Offers to put Caddy in its place | Tick the box |
Your own reverse proxy
Choose Through my own reverse proxy and give its IP address. The Bridge’s firewall rule then only lets that address in. If the proxy runs on the Blue Iris PC itself, leave the address empty.

The last page shows the rule to add, for nginx. Your own reverse proxy or tunnel has it for Caddy and Nginx Proxy Manager too.

To check it, open https://<your Blue Iris address>/caesa/hello from outside your home. You should see a short message
starting with {"caesa_bridge". If you see Blue Iris instead, the rule isn’t matching. If the page times out, the proxy
can’t reach port 8743 on the Blue Iris PC.
The proxy has to pass the stream straight through, without buffering, and allow connections that stay open, because each phone keeps one open to the Bridge.
Cloudflare Tunnel
If cloudflared runs on the Blue Iris PC, setup reads the tunnel’s routes from cloudflared itself. It says which name
serves Blue Iris, and whether /caesa/ on that name reaches the Bridge. Here, both Cloudflare Tunnel and Tailscale
Funnel are set up correctly.

To add the Bridge, go to Zero Trust → Networks → Tunnels in Cloudflare’s dashboard, open your tunnel, and add a published application route:
- Subdomain and domain: the same as Blue Iris’s
- Path:
caesa/ - Type: HTTP, URL:
localhost:8743
Then drag it above Blue Iris’s route, so it’s matched first. Alerts come through Cloudflare as quickly as they do at home.
If Blue Iris lets home addresses in without a password (Require from: Non-LAN only), anyone can get in through Cloudflare Tunnel by claiming to be at home. Setup checks for this and tells you. Set Require from to All connections. See Blue Iris’s password settings.
Tailscale
Tailscale on the Blue Iris PC. In Caesa, use the PC’s Tailscale address for Blue Iris, such as
http://100.101.102.103:81, and the Bridge is found by itself.
A subnet router. If Tailscale runs on another machine at home and shares your home network, phones reach Blue Iris by its home address. Blue Iris sees them as that machine, so with Require from: Non-LAN only they don’t need a password, just as at home. Only devices on your tailnet can get that far.
Funnel or Serve. Funnel gives Blue Iris an internet address through Tailscale, and Serve does the same for your
tailnet only. Setup reads what Tailscale serves, and says on its first page whether /caesa/ reaches the Bridge, as
in the picture under Cloudflare Tunnel.
If it doesn’t, run this in PowerShell as administrator. Use serve instead of funnel for your tailnet only.
tailscale funnel --bg --set-path=/caesa http://127.0.0.1:8743/caesa
Keep /caesa on the end of the address. Tailscale takes the path off before passing requests on, and the Bridge needs
it.
Replacing stunnel
If stunnel gives Blue Iris https now, the https page of setup offers to take over from it. Caddy takes port 443, so your router’s forward stays as it is. stunnel is stopped and set not to start, but its files and settings are kept. It starts again if you remove Caesa HTTPS or change to plain http, unless Blue Iris would then let anyone in through it. Then setup leaves it off and says what to change.
stunnel passes on whatever visitors send. If Blue Iris lets home addresses in without a password, anyone who reaches stunnel can claim to be at home, and setup’s first page says so. Caddy replaces what visitors send with their real address.
Plain http through Caddy
For anyone whose router forwards straight to Blue Iris and who’d rather not set up https. Caddy serves plain http, so
/caesa/ reaches the Bridge on the address you use now, with no certificate and no Let’s Encrypt. Nothing is
encrypted. Setup warns about that and asks you to tick that you understand. Running it again can change to https.
Caddy gets your router’s traffic in one of two ways.
- On Blue Iris’s own port, so the router stays as it is. Setup prepares Caddy, then waits up to 15 minutes for you to move Blue Iris to another port in its own settings. Setup never changes Blue Iris’s settings itself. Blue Iris lets go of its port as soon as you press OK, without restarting, and Caddy takes it at once. In our tests, a phone outside never saw a failed request. The Bridge follows Blue Iris’s new port by itself. Blue Iris also serves RTSP on its web port, which Caddy can’t pass on, so anything taking RTSP from it needs Blue Iris’s new port. If you change your mind while setup waits, press Stop waiting and everything is put back as it was.
- Beside Blue Iris, so Blue Iris stays as it is. Caddy listens on 8081, or the next free port, and you point your router’s forward for Blue Iris there, keeping the same outside port.
If Cloudflare Tunnel or Tailscale on this PC goes to Blue Iris’s port, point it at Blue Iris’s new port afterwards. Through Caddy, Blue Iris would see every visitor as this PC and couldn’t ban anyone. Setup tells you which.
If setup fails after Blue Iris has moved, it puts back everything it changed, and tells you to set Blue Iris back to its old port, or to run it again so Caddy takes it. It remembers the port, even after a power cut. Uninstalling Caesa HTTPS tells you to move Blue Iris back too.
Your own Caddy settings
Your own Caddy settings are never lost. Put them in files ending .caddy in these two folders, next to the
Caddyfile in C:\Program Files\CaesaHttps. Caddy loads every one, and setup and its updates never change them.
| Folder | For |
|---|---|
sites | More sites of your own, on other names or ports |
blueiris | Additions for the Blue Iris address, such as headers or an IP allow list |
- A mistake in them. Setup checks them with Caddy before it changes anything. If Caddy doesn’t accept them, setup says which file and line, and stops. The Caddy that’s running carries on as it is.
- A Caddyfile changed by hand. Setup notices, and stops before changing anything. Tick Replace it to let setup
write it afresh, and setup keeps a copy of yours beside it first, named
Caddyfile.yours-and the date. The weekly update never rewrites a changed Caddyfile. - Uninstalling. Your two folders, any copies and a changed Caddyfile move to
C:\ProgramData\CaesaSetup\kept-settings, which only administrators can change, even if you remove everything else. Setting up again brings the two folders back.
Whenever setup uses, copies, moves or brings back any of your files, it tells you which, and where they are.
Blue Iris’s password settings
Two settings in Blue Iris, under Settings → Web server → Advanced, decide who needs a password.
- Use X-Forwarded-For, X-Real-IP lets Blue Iris see each visitor’s real address through a proxy. Keep it ticked, so Blue Iris bans the right address after failed logins. For https, setup won’t carry on without it.
- Require from decides who needs a password. All connections, Blue Iris’s default, is the safe choice. Non-LAN only lets home addresses in without one.

Behind a reverse proxy, Non-LAN only can let anyone in. Blue Iris believes the X-Forwarded-For header from anything at home, which includes your proxy. It counts a visitor as at home if any address in that header is a home address. So a proxy that passes on what the visitor sent lets anyone claim to be at home. In our tests that was the case for Nginx Proxy Manager’s usual setting, HAProxy and Cloudflare Tunnel. Caddy, Traefik, Tailscale Funnel and nginx set up as in Your own reverse proxy or tunnel were safe. Setup checks the ways in it can see, and warns you.
Installing from PowerShell
If you’d rather not use the setup window, open PowerShell as administrator. In Windows 11, right-click Start and choose Terminal (Admin).

Go to the CaesaBridge folder, then run these three lines.
Get-ChildItem | Unblock-File
Set-ExecutionPolicy -Scope Process RemoteSigned
.\install.ps1 -Proxy 192.168.1.20
The first line tells Windows the downloaded files are fine, and the second lets scripts run in this window only. Put
your reverse proxy’s address after -Proxy, or leave -Proxy out if you don’t use one on another machine. Running
install.ps1 again later keeps the address. To forget it, run it with -NoProxy.

For https, run .\https.ps1 -Domain cameras.example.com afterwards, with your own name. Every script has its own help,
listing every option, for example Get-Help .\install.ps1 -Full. These are the ones you’re most likely to want.
| Script and option | What it does |
|---|---|
install.ps1 -Proxy <address> | Only your reverse proxy can reach the Bridge through the firewall |
install.ps1 -Port <port> | The Bridge’s port, if 8743 is taken. Running it again keeps it. |
install.ps1 -BlueIris <address> | Blue Iris’s address, if the Bridge can’t read it from Blue Iris’s settings |
https.ps1 -Domain <name> | Sets up https for that name |
https.ps1 -PlainHttp | Plain http through Caddy, beside Blue Iris on 8081. Not encrypted. |
https.ps1 -PlainHttp -TakeBlueIrisPort | Plain http on Blue Iris’s own port, once you move Blue Iris |
https.ps1 -ReplaceEditedCaddyfile | Writes a Caddyfile you changed by hand afresh, keeping a copy of yours |
https.ps1 -ReplaceStunnel | Takes port 443 over from stunnel |
https.ps1 -NoUpdates | Leaves out the weekly Caddy update |
https.ps1 -Check | Only looks, and says what it would do |
uninstall.ps1 -RemoveData | Removes the Bridge’s settings and log too |
https.ps1 -Remove | Removes Caesa HTTPS, and starts stunnel again if Caddy took its place |
The Bridge’s status page
Open http://127.0.0.1:8742/ on the Blue Iris PC. It shows what the Bridge is doing and the phones that have signed in.
You can sign a phone out there, or send a test alert. Further down are the rule for your reverse proxy and the
Bridge’s recent log.

At the bottom, For Caesa support has the status in plain text, ready to copy into an email. Names and addresses in it are replaced.

Sending us a report
Details in the setup window shows everything Caesa support needs to see what happened: this PC, the Bridge, https, Blue Iris’s web server settings and setup’s logs. You can copy it or save it to the desktop.

BridgeReport in the CaesaBridge folder makes the same report and saves it on the desktop. It only reads, and changes nothing. It has no passwords, and the names of people, phones and the PC are replaced. Addresses are replaced too, unless you tick Include IP addresses and domain names in full.
If setup can’t finish
Every change setup makes is written down first, so it can be undone. If setup can’t finish, it puts back everything it changed, so the PC is as it was, and an earlier Bridge or https address carries on working. If it was cut short, by a power cut say, it finishes putting things back the next time it opens.
For https, if Let’s Encrypt can’t reach the PC, setup says why and puts everything back. It tells apart a router that isn’t forwarding, a name that doesn’t point home, and a PC that can’t reach Let’s Encrypt at all.
What’s installed, and where
| What | Where |
|---|---|
| The Bridge | C:\Program Files\CaesaBridge, which only administrators can change |
| Its settings and log | C:\ProgramData\CaesaBridge (the log is kept to about 2 MB) |
| Its scheduled task | Caesa Bridge, running as LOCAL SERVICE |
| Its firewall rules | Caesa Bridge, TCP 8743, on private and domain networks, and from home and VPN addresses on public ones |
| Caddy, with https or plain http | C:\Program Files\CaesaHttps, with its certificates in C:\ProgramData\CaesaHttps |
| Your own Caddy settings | The sites and blueiris folders in C:\Program Files\CaesaHttps, kept in C:\ProgramData\CaesaSetup\kept-settings if you uninstall |
| Caddy’s tasks | Caesa HTTPS, and Caesa HTTPS update once a week |
| Setup’s logs | C:\ProgramData\CaesaSetup, which only administrators can open |
Updating and uninstalling
To update, run the new version’s InstallBridge. Your settings, port and Blue Iris address stay, and phones reconnect by themselves. It installs over 1.0.1 in the same way.
To uninstall, go to Windows Settings → Apps → Installed apps. Caesa Bridge and Caesa HTTPS (Caddy) each have their own entry. Open the ⋯ menu next to one and choose Uninstall.

Uninstalling keeps the Bridge’s settings and log in case you reinstall. .\uninstall.ps1 -RemoveData in the
CaesaBridge folder removes those too.