You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/03 23:59:58 UTC

[GitHub] [apisix] membphis commented on issue #2617: request help: after proxy-mirror plugin mirroring request, the host in the mirroring request has changed

membphis commented on issue #2617:
URL: https://github.com/apache/apisix/issues/2617#issuecomment-721437359


   I got it. That is a bug:
   
   https://github.com/apache/apisix/blob/master/apisix/cli/ngx_tpl.lua#L501
   
   we need to set the correct host in this way:
   
   https://github.com/apache/apisix/blob/master/apisix/cli/ngx_tpl.lua#L392
   
   welcome PR


----------------------------------------------------------------
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:
users@infra.apache.org