zaunist commented on issue #2268:
URL:
https://github.com/apache/apisix-dashboard/issues/2268#issuecomment-1002371706
Hi, @foreveryang321. If you want rewrite `header`, you need configure
`response-rewrite` like this:
```
"headers": {
"Server": "baidu",
}
```
I can give you a example configuration:
```
{
"body": "{\"code\":\"ok\",\"message\":\"new json body\"}",
"disable": false,
"headers": {
"Server": "baidu",
"X-Server-id": 3,
"X-Server-status": "on"
}
}
```

test response header:

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]