lizeming opened a new issue #2468:
URL: https://github.com/apache/apisix/issues/2468


   ### Issue description
       Hello, we are APISIX users. Currently using APISIX unified Internet 
proxy service. We have a requirement that we need to use the same Internet IP 
address and different ports to differentiate services, and use a reverse proxy 
to the back-end service. The back-end service will return the ‘Host’ address in 
the request header as the host address of the URL to the client. However, we 
found that the ‘Host’ requested by the client has a port, but APISIX will be 
modified to an address without a port to the back-end service, causing the 
back-end service to return an incorrect address and cause an access error. 
Header rewriting via proxy_rewrite plug-in does not take effect. How do I solve 
this situation? Is it reasonable for APISIX to remove the port from the ‘Host’ 
address?
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: Redhat Linux 7.4 x64
   


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