zjc1750514326 opened a new issue, #11658:
URL: https://github.com/apache/apisix/issues/11658

   ### Description
   
   When apisix made a service discovery call to nacos, I found that the host in 
the route modification request header was not effective. The reason should be 
that nacos had overwritten it here
   
![image](https://github.com/user-attachments/assets/df7ee58f-db5d-44ea-b6fa-e7a8034a1861)
   Why is the custom host request header about to be discarded?
   Another issue is that I am currently using apisix to replace nginx. My 
original traffic was load balance ->nginx ->app, and my nginx configuration is: 
proxy_det_header X-Forwarded-Proto 'https' to ensure that the app receives 
https. So, how should apisix migrate this nginx configuration
   
   ### Environment
   
   - APISIX version (run `apisix version`):
   /usr/local/openresty//luajit/bin/luajit 
/usr/local/apisix/apisix/cli/apisix.lua version
   3.2.0
   - Operating system (run `uname -a`):
   Linux nxcloud-test 3.10.0-1160.66.1.el7.x86_64 #1 SMP Wed May 18 16:02:34 
UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   nginx version: openresty/1.21.4.1
   built by gcc 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC) 
   built with OpenSSL 1.1.1s  1 Nov 2022
   TLS SNI support enabled
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


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