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

HTTPS broke some links #8

Open
dale-wahl opened this issue Jul 5, 2022 · 2 comments
Open

HTTPS broke some links #8

dale-wahl opened this issue Jul 5, 2022 · 2 comments

Comments

@dale-wahl
Copy link
Member

After uploading images, it redirects to http even on the https version.

@dale-wahl
Copy link
Member Author

dale-wahl commented Jul 7, 2022

This commit will allow your to set HTTP or HTTPS in the config.yml file. Links will then work and use the correct schema.

Most links appear to work without this fix, however url_for function fails to accept the forwarded scheme (at least while we are using Apache to direct traffic to the PixPlot Docker container currently using gunicorn). I tested a number of configurations. I believe it may be possible to do with Nginx in the middle or wsgi, but I'm hard pressed to come up with a solution using either that is not overly complex for this limited app!

@dale-wahl
Copy link
Member Author

This issue may be related as well. It does not seem like this would have any effect.

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

1 participant