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

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
ornginx -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
Labels
Type
Projects
Status
✅ Done