Hxhong opened a new issue #4110:
URL: https://github.com/apache/apisix/issues/4110


   ### Issue description
   
   ### 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:
   * luarocks version, if the issue is about installation (cmd: `luarocks 
--version`):
   I rewrite ctx.var.upstream_uri, and it did changed. But in error.log, the 
log's param "request" is not the new ctx.var.upstream_uri. The below methods 
didn't work, either. 
   ngx.request_uri = ctx.var.upstream_uri
   ngx.req.upstream_uri = ctx.var.upstream_uri
   ngx.req.set_uri(ctx.var.upstream_uri)
   ngx.regex_uri = ctx.var.upstream_uri


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to