iwangjie opened a new issue, #4381:
URL: https://github.com/apache/shenyu/issues/4381

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   When the reverse proxy upstream is NGINX's service, all request headers will 
be sent upstream as they are, while the Host request header is special, which 
will lead to 403 if it is incorrect. 
    
   For example, the proxy http://www.weather.com.cn/, if the Host field is 
passed as the request Host of the gateway, the server returns 403, and the 
value of Host that should be passed is www.weather.com.cn. 
    
   If this is a bug, please assign it to me and I'll fix it. 
   
   ### Expected Behavior
   
   Host field is `www.weather.com.cn`
   
   
   
   ### Steps To Reproduce
   
   1. Reverse proxy www.weather.com.cn
   2. Access
   3. result 403
   
   ### Environment
   
   ```markdown
   ShenYu version(s): Latest
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


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