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

fix: Fix Issue #63 to properly set the x-forwarded-host header #64

Conversation

peter-at-work
Copy link
Contributor

@peter-at-work peter-at-work commented Jan 30, 2024

Fix for #63

When the xfwd configuration option is enabled, the x-forwarded-host header was getting set with an empty value. This fixes the issue by reading the host header from the original request.

Copy link
Owner

@FlorianRappl FlorianRappl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes indeed - thanks for noticing!

LGTM!

@FlorianRappl FlorianRappl merged commit 5c271cb into FlorianRappl:develop Jan 30, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants