Blue Iris – Nginx Reverse Proxy

I use Blue Iris(BI) to manage a number of IP CCTV cameras at home, I have a single static public IP and several web applications that I would like to access over 443. I decided the best option would be to setup a Nginx reverse proxy and use LetsEncrypt SSL. Here is how I setup Blue Iris to work behind a reverse proxy.

In your /etc/nginx/sites-enabled/<config_file_here> below the 443 server block you will need to paste the following config.

location /bi/ {
    rewrite ^/bi/(.*) /$1  break;
    proxy_ignore_client_abort on;
    proxy_pass http://192.168.150.50:81;
    proxy_redirect http://192.168.150.50:81 /bi;
}

The config above assumes your BI port is 81, BI server IP is 192.168.150.50 and virtual directory is /bi/. Change to suit your setup

Your Nginx reverse proxy virtual directory will need to match whatever you have put in BI web server settings.

2 Comments on "Blue Iris – Nginx Reverse Proxy"

  1. I too have this set up. Question for you – when you access the UI via https, does it still say it’s unsecure? I believe I need this to be resolved for Chromecast functionality to work.

    • Mine remains https throughout. If you bring up the developer tools in Google Chrome can you see where it’s reverting to http/insecure?

Leave a comment

Your email address will not be published.


*