koel / docker

A minimal docker image for the koel music streaming server.
https://hub.docker.com/r/phanan/koel/
MIT License
166 stars 54 forks source link

Nginx Proxy Manager Blocking Loading mixed active content #181

Closed mattiasghodsian closed 11 months ago

mattiasghodsian commented 11 months ago

I can't seem to get koel to work with Nginx Proxy Manager, getting mixed content in console

Blocked loading mixed active content “http://website.com/build/assets/Btn.3e44deb8.css”
[website.com](https://website.com/)
Blocked loading mixed active content “http://website.com/build/assets/app.fcf8132a.css”
[website.com](https://website.com/)
Blocked loading mixed active content “http://website.com/build/assets/app.e36b1e06.js”
[website.com](https://website.com/)
Loading failed for the module with source “http://website.com/build/assets/app.e36b1e06.js”. [website.com:30:808](https://website.com/)
Loading mixed (insecure) display content “http://website.com/img/icon.png” on a secure page
[FaviconLoader.sys.mjs:176:19](resource:///modules/FaviconLoader.sys.mjs)
Loading mixed (insecure) display content “http://website.com/img/favicon.ico” on a secure page
mattiasghodsian commented 11 months ago

Solved the problem by creating a .env file from the example FORCE_HTTPS=true and then mount the file to the container.

- ./.env:/var/www/html/.env