Frigate / Nginx / Basic authentication ?

  • Hi,

    I have 2 RPI4 : one for HAOS, another one for OMV.

    I would like to move from Frigate Home assistant add-on to Frigate in docker-compose via OMV.

    Frigate installation in docker-compose is ok . Everything works well. I also installed Nginx and I am able to access OMV and frigate via Nginx from outside.

    My issue is that I would like to implement basic authentication with user Id and password for frigate access from outside but no success.

    I already spent a lot of time and tried a lot of tutos, but always stuck.

    I created file .htpasswd containing user_id/password file.

    I know that I have to update the NGINX configuration file and add/modify the "location" of the frigate site by adding lines :

    auth_basic "Administrator Login";

    auth_basic_user_file /etc/nginx/.htpasswd;

    But in which file, folder, … and exact code format ?

    Anybody with this configuration who can provide information and code?

    Thank you

    • Offizieller Beitrag

    My issue is that I would like to implement basic authentication with user Id and password for frigate access from outside but no success.

    You can use Nginx Proxy Manager for this. https://nginxproxymanager.com/

    NPM allows you to add user and password authentication to any service. However, keep in mind that username and password protection is not the best protection in the world, you may need something more.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!