Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help request: Apisix uses Nacos for service discovery #11658

Closed
zjc1750514326 opened this issue Oct 16, 2024 · 0 comments
Closed

help request: Apisix uses Nacos for service discovery #11658

zjc1750514326 opened this issue Oct 16, 2024 · 0 comments
Labels
question label for questions asked by users

Comments

@zjc1750514326
Copy link

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
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):
@dosubot dosubot bot added the question label for questions asked by users label Oct 16, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Apache APISIX backlog Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question label for questions asked by users
Projects
Archived in project
Development

No branches or pull requests

1 participant