purekeeper opened a new issue #6209:
URL: https://github.com/apache/apisix/issues/6209


   ### Issue description
   
   I do the demo follow 
https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite  curl add route and 
plugin ,and    curl -X GET http://127.0.0.1:9080/test/index.html, but i get 502 
 and the request log is not same with you said ,I think it does not rewite the 
host to "http://iresty.com/test/home.html   .Anybody tell me why ?
   
![image](https://user-images.githubusercontent.com/15372524/151111800-b9d43848-7362-46f9-b745-c43ac829afdf.png)
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl 
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: 
depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `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]


Reply via email to