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

Images Broken When Accessing Via Internet #158

Open
mirrorhead-uk opened this issue Aug 24, 2021 · 2 comments
Open

Images Broken When Accessing Via Internet #158

mirrorhead-uk opened this issue Aug 24, 2021 · 2 comments

Comments

@mirrorhead-uk
Copy link

Hi,

When I access my site from internet via a reverse proxy (separate from the docker one), my uploaded images do not load.
When inspecting the element, I can see that the image url is my internal ip and port. Is there any way to alter the image urls?

@ghost
Copy link

ghost commented Apr 12, 2022

Hi, I had this problem with my install as well. I was recently redoing my nginx config for unrelated reasons, using the digital ocean nginxconfig tool and somehow that fixed it. I barely know what I'm doing so unfortunately I can't offer more help but perhaps this can get you on the right track. Good luck!

@sepulzera
Copy link

You can find a sample nginx configuration in the OwnRecipes docs.

Additionally, make sure you set up the env variable HTTP_X_FORWARDED_PROTO=true.

If this doesn't work, perhaps there is a NODE_* env variable not set up correctly.

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