lingliy opened a new issue, #10705: URL: https://github.com/apache/apisix/issues/10705
### Description Repeat step: 1. proxy-rewrite settting curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' { "host": "www.test.com", "plugins": { "proxy-rewrite": { "headers": { "set": { "Host": "$host:9977 } } } }, "upstream": { "type": "roundrobin", "nodes": { "127.0.0.1:80": 1 } } }' 2. curl www.test.com:9080 3. upstream service expects to receive the Host header www.test.com:9977, but what I actually received was www.test.com:9080 while there are upstream ways to set Host headers, none of these ways support variables. -- 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]
