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
Cloudfront forwarded proto header #2089
base: main
Are you sure you want to change the base?
Conversation
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.
Thanks for the pull request. Please see the requested changes.
…overwritten by vendor header value
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.
Looks good. One more minor spec change requested, then I'm fine with this.
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.
Looks good, thanks!
Great. Thanks for the speedy and clear feedback on the review |
Do you mind checking why the tests are failing?
|
will have a look tomorrow.
|
Ok - taking another swing at solving #2080
This time where we can pass any header in and the value of that will be copied to the value of
HTTP_X_FORWARDED_PROTO
This allows the user to rely on the value in
CloudFront-Forwarded-Proto
provided by AWS Cloudfront. If other vendors have custom headers for this, then this should also provide an option.