You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this official documenthttps://apisix.apache.org/zh/docs/apisix/3.9/plugins/proxy-rewrite/, when you use the header.add interface to add something, it will be displayed in the console like this:
Current Behavior
According to this official documenthttps://apisix.apache.org/zh/docs/apisix/3.9/plugins/proxy-rewrite/, when you use the header.add interface to add something, it will be displayed in the console like this:
Use the following call interface parameters.
`{
"uri": "/111111*",
"upstream_id": "web",
"hosts": [
"abc12.com"
],
"name": "111111",
"desc": "1111111n",
"plugins": {
"response-rewrite": {
"headers": {
"Cache-Control": "$cache"
}
},
"proxy-rewrite": {
"headers":{
"add": {
"Host": "$host",
"X-Real-IP": "$remote_addr",
"X-Forwarded-For": "$proxy_add_x_forwarded_for"
}
}
}`
Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
`{
"uri": "/111111*",
"upstream_id": "sign-web",
"hosts": [
"abc12.com"
],
"name": "111111",
"desc": "1111111n",
"plugins": {
"response-rewrite": {
"headers": {
"Cache-Control": "$cache"
}
},
"proxy-rewrite": {
"headers":{
"add": {
"Host": "$host",
"X-Real-IP": "$remote_addr",
"X-Forwarded-For": "$proxy_add_x_forwarded_for"
}
}
}`
Environment
apisix version
):uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: