Skip to content

help request: plugin proxy_write display question #2978

Closed
@1450793561

Description

@1450793561

Description

Create a route using the proxy_write plug-in. After the route is created successfully, the dashboard console displays the fault

Image

code fllow:

{
    "uri": "/1111111111",
    "upstream_id": "tms",
    "hosts": [
        "abc123123.com"
    ],
    "name": "1111111111",
    "desc": "1111111111",
    "plugins": {
        "proxy-rewrite": {
            "headers": {
                "add": {
                    "Host": "$host",
                    "X-Real-IP": "$remote_addr",
                    "X-Forwarded-For": "$proxy_add_x_forwarded_for",
                    "http_version": 1.1
                }
            }
        }
    },
    "timeout": {
        "connect": 3,
        "send": 3,
        "read": 3
    }
}

Environment

  • APISIX version (run apisix version):3.5.0
  • Operating system (run uname -a):centos7
  • 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

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions