Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map doesn't load: 'Blocked loading mixed active content' #60

Open
lgrn opened this issue Aug 29, 2024 · 1 comment
Open

Map doesn't load: 'Blocked loading mixed active content' #60

lgrn opened this issue Aug 29, 2024 · 1 comment

Comments

@lgrn
Copy link

lgrn commented Aug 29, 2024

Hi,

I'm trying to set up owntracks behind a reverse proxy, when I open owntracks/frontend/ the map doesn't load and I can see this error in the browser console:

Blocked loading mixed active content “http://foo/owntracks/api/0/list”

I suspect this might be because I willingly configured quicksetup to run without an e-mail, because I don't want automatic cert renewals (the reverse proxy handles that), this means that the application is now listening on port 80, which is fine, but I guess this might also lead to the application having http links in HTML since it's unaware that https is actually being used.

Normally this is solved by some kind of configuration toggle that can let the application know that it's behind a reverse proxy, and that https links should be used throughout the application. Is anything like that available?

@jpmens jpmens transferred this issue from owntracks/recorder Aug 29, 2024
@jpmens
Copy link
Member

jpmens commented Aug 29, 2024

You might need to tweak baseUrl in /usr/share/nginx/html/owntracks/frontend/config/config.js for your particular configuration, but please note this file is (currently) overwritten whenever you re-run ./bootstrap.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants