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

Incorrect redirection to HTTP when application is served using HTTPS reverse proxy #205

Open
flux77 opened this issue May 3, 2022 · 1 comment

Comments

@flux77
Copy link

flux77 commented May 3, 2022

(hunchentoot:redirect ...) redirects to HTTP even when the Hunchentoot web application is served by a reverse proxy that uses HTTPS. If I place a Nginx reverse proxy in front of a Hunchentoot web app, and configure Nginx to serve the web application using HTTPS, Hunchentoot will not know to use HTTPS when redirecting. This is because Hunchentoot does not look at the Forwarded and/or X-Forwarded-Proto HTTP headers that provide information about which protocol Hunchentoot should be using to redirect.

(This bug report is based on this Stack Overflow question: How to redirect to HTTPS when Hunchentoot is behind a reverse proxy)

@rpx99
Copy link

rpx99 commented May 5, 2023

Think this is important. Is it possible to fix this, please?
Thank you!

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