chyoong commented on issue #5451:
URL: https://github.com/apache/apisix/issues/5451#issuecomment-1277897615
@spacewander @kwanhur
Hi, I would also like to use nginx sub_filter in apisix, but it still
doesn't work when I use it in apache/apisix:2.99.0-debian
Plugin configļ¼
```json
{
"disable": false,
"filters": [
{
"regex": "head",
"replace": "1212",
"scope": "global"
}
],
"headers": {
"set": {
"x-powered-by": "",
"x-server-balancer_addr": "$balancer_ip:$balancer_port"
}
},
"vars": [
[
"status",
"==",
200
],
[
"content-type",
"==",
"text/html; charset=utf-8"
]
]
}
`
--
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]