-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
proxy: set header X-Forwarded-Host #1483
Conversation
nginx is a classthat may have no external impact to Forge modules. This module is declared in 9 of 578 indexed public
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not sure if this is a breaking change / if this adds any security issues for people that miss it. I would like to see a few more comments. @voxpupuli/collaborators and ideas?
imho, no security implication. Original Host header already contains this information, this additional header helps generate proper response by servers behind reverse proxies. |
Well, it's already sending the host as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable :)
Set the X-Forwarded-Host header by default when used as a proxy.
from Mozilla: