Skip to content

help request: upstream.nodes.host set domain invalid #8237

@wenxiHome

Description

@wenxiHome

Description

local up_conf = {
type = "roundrobin",
pass_host = "rewrite",
upstream_host = "geo.datav.aliyun.com",
scheme = "http",
nodes = {
{ host = "geo.datav.aliyun.com", port = 80, weight = 1 }
}
}
upstream.set(ctx, up_conf.type .. "#route_" .. matched_route.value.id,
ctx.conf_version, up_conf)

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • 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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    wait for updatewait for the author's response in this issue/PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions