-
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
The proxy-rewrite plugin does not support pass nginx's variable within header #3117
Comments
Only constant value is supported. |
Assigned to me. |
I believe I'm facing a similar issue. I am trying to use two plugins to create a sort of password-protected area in my application. I was hoping to use the basic-auth plugin for username/password functionality and proxy-rewrite to automatically add the username to the route. For example, rerouting requests to Is that similar to this issue and would it be solved with work done on this issue? |
@BFergerson |
…ithin header. close apache#3117
Issue description
I want to pass the nginx's Embedded Variables for upstream applications, below is my proxy-rewrite plugin's config:
The test url:
The upstream application got the raw req info below:
Environment
The text was updated successfully, but these errors were encountered: