Skip to content

bug: accessing the upstream using the domain results in a 404 response #11978

@kenneth-bro

Description

@kenneth-bro

Current Behavior

Image

Image

请求的就一直404,如果上线为内网IP服务的没问题。经过多次尝试,发现要做域名静态改写?

Expected Behavior

不需要域名静态改写即可访问

Error Logs

No response

Steps to Reproduce

1、配置域名服务为上游
2、配置路由即可。

Environment

  • APISIX version (run apisix version): 3.9.1
  • Operating system (run uname -a): debian
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): 3.5.0
  • APISIX Dashboard version, if relevant: 3.0.1
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
  • docker image: apisix:3.9.1-debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions