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

Archivy doesn't redirect to the HTTPS addresses correctly when running behind a Traefik reverse proxy #202

Open
jsnfwlr opened this issue Feb 5, 2021 · 3 comments

Comments

@jsnfwlr
Copy link

jsnfwlr commented Feb 5, 2021

I can go to https://archivy.example.com and get the login page but when I fill in the data it takes me to http://archivy.example.com

The same goes for adding folders, pages/notes etc

@jsnfwlr
Copy link
Author

jsnfwlr commented Feb 5, 2021

Probably the same problem behind #196

@BrianGilbert
Copy link
Contributor

I have a synology running Archivy under Docker with port 6875 exposed within network, and setting the following worked for me
Storehouse - Synology DiskStation 2021-02-10 10-15-32

@jsnfwlr
Copy link
Author

jsnfwlr commented Feb 10, 2021

@BrianGilbert - That's not a solution to my issue. What you've done there is use your Synology NAS to forward the requests (both HTTPS and HTTP) to that Hostname to Archivy.

My issue is that I am using Traefik to serve Archivy over HTTPS (no HTTP), and it fails. I semi-solved the issue by redirecting the HTTP requests to HTTPS, but Archivy should not be downgrading the security of HTTPS to HTTP between requests.

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