-
Notifications
You must be signed in to change notification settings - Fork 272
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 uses X-Forwarded-Scheme, not X-Forwarded-Proto #79
Comments
You're correct, and we should have been using that (although a) Update the docs and make no code changes (the bug lies in the docs) I'd need to do some work to see how widely this package's |
I've actually never seen X-Forwarded-Scheme, though I'll take your word for it. Note that Heroku, AWS and Google Cloud Platform all use |
Correct, but Scheme still sees a lot of use (Scheme has more Google hits). You're welcome to submit a PR for option b) else I will fix it this week.
|
RFC 7239 refers to X-Forwarded-Proto, as do the GoDocs of this package.
However, proxy_headers.go actually uses X-Forwarded-Scheme.
The text was updated successfully, but these errors were encountered: