Coderyangg opened a new issue, #11688:
URL: https://github.com/apache/apisix/issues/11688
### Description
this is my service json parameter,{
"name": "监管平台",
"upstream": {
"nodes": [
{
"host": "icmssupervision-api.chebai-dit-icos.svc",
"port": 8889,
"weight": 1
}
],
"timeout": {
"connect": 6,
"send": 6,
"read": 6
},
"type": "roundrobin",
"scheme": "http",
"pass_host": "pass",
"keepalive_pool": {
"idle_timeout": 60,
"requests": 1000,
"size": 320
}
},
"plugins": {
"forward-auth": {
"_meta": {
"disable": false
},
"headers": [
"Authorization",
"X-Forwarded-Uri",
"X-Forwarded-Method"
],
"upstream_headers": [
"Authorization",
"X-Forwarded-Uri",
"X-Forwarded-Method"
],
"uri":
"http://mid-platform-permission-api.chebai-dit-icos.icos.city/v1/midplat/permission/user/verify"
},
"proxy-rewrite": {
"_meta": {
"disable": false
},
"headers": {
"X-Forwarded-Uri": "$request_uri"
}
},
"request-validation": {
"_meta": {
"disable": false
},
"header_schema": {
"properties": {
"Authorization": {
"type": "string"
}
},
"required": [
"Authorization"
],
"type": "object"
},
"rejected_code": 401
}
}
} and i want to get X-Forwarded-Method and X-Forwarded-Uri in the request
from apisix
### Environment
- APISIX version (run `apisix version`): 2.1.5
- Operating system (run `uname -a`): linux
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]