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

proxyHeaders http/https #292

Open
Loukious opened this issue Aug 3, 2024 · 2 comments
Open

proxyHeaders http/https #292

Loukious opened this issue Aug 3, 2024 · 2 comments

Comments

@Loukious
Copy link

Loukious commented Aug 3, 2024

Currently proxyHeaders works only when you use https. Using http will cause a server error. This took me a while to debug as the error message didn't really specify what went wrong. This issue is easily fixed by using https. But what if the server doesn't support https? In my case I ran into an issue where the server does some redirects to another url and the said url is http (although it supports https, they only wrote the http version in the redirect header).

Is there anyway to fix this? Either by you fixing the issue with the http servers or by providing a way to automatically always upgrade to https.

@jaruba
Copy link
Member

jaruba commented Aug 3, 2024

We intentionally support only HTTPS for security reasons.

@Loukious
Copy link
Author

Loukious commented Aug 4, 2024

We intentionally support only HTTPS for security reasons.

Should probably update the docs to state that for the proxyHeaders. Because http streams seems to work fine without proxyHeaders. Any suggestion for the redirect thing? Should I simply send a get request to find the redirect url and forward that instead to the users?

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