Firstsawyou commented on a change in pull request #2079:
URL: https://github.com/apache/apisix/pull/2079#discussion_r564496410



##########
File path: t/lib/server.lua
##########
@@ -73,6 +73,7 @@ end
 function _M.plugin_proxy_rewrite()
     ngx.say("uri: ", ngx.var.uri)
     ngx.say("host: ", ngx.var.host)
+    ngx.say("http_host: ", ngx.var.http_host)

Review comment:
       It is not necessary to add this line of code. Try this `uri`: 
https://github.com/apache/apisix/blob/master/t/lib/server.lua#L111




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


Reply via email to