wilson-1024 commented on issue #6366:
URL: https://github.com/apache/apisix/issues/6366#issuecomment-1061457269


   can we modify the host in (apisix/apisix/balancer.lua lines 333-340)?
   ```java
           if pass_host == "node" and balancer.recreate_request then
               local host = server.domain or server.host
               if host ~= ctx.var.upstream_host then
                   -- retried node has a different host
                   ctx.var.upstream_host = host
                   header_changed = true
               end
           end


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