-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add protocol header for upstream service #973
Comments
I think you can use the proxy-rewrite plugin. |
I thought this is a very commonly requirement if proxy_set_header ....
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header .... |
I got your point. |
you can send email to mailing list to discuss with more developer. |
@chnliyong any update? |
@chnliyong |
This issue has been fixed by #1113 . |
The upstream service such as web rendering may sometimes need to know the incoming request's scheme(
http
orhttps
) from client.Conventionally use the http header
X-Forwarded-Proto
X-Forwarded-ProtoThe text was updated successfully, but these errors were encountered: