You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 change: added doc of how to load plugin. #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):
The text was updated successfully, but these errors were encountered:
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
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
):/usr/local/openresty//luajit/bin/luajit /usr/local/apisix/apisix/cli/apisix.lua version
3.2.0
uname -a
):Linux nxcloud-test 3.10.0-1160.66.1.el7.x86_64 change: added doc of how to load plugin. #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
openresty -V
ornginx -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
curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: