wangfeng22 commented on issue #99:
URL:
https://github.com/apache/apisix-go-plugin-runner/issues/99#issuecomment-1214747965
> ### Issue description
> 我有多个插件需要同时注册,配置文件应该怎么定义
>
> ### Environment
> 像这样 ext-plugin: cmd: ["/path/to/apisix-go-plugin-runner/go-runner", "run"]
cmd: ["/path/to/apisix-go-plugin-runner/go-runner2", "run"]
推荐应该在plugin里配置,比如
```
"plugins": {
"ext-plugin-post-req": {
"conf": [
{
"name": "response-rewrite",
"value":
"{\"status\":200,\"headers\":{\"a\":\"c\"},\"body\":\"aaa\"}"
},
{
"name": "say",
"value": "{\"body\":\"aaa\"}"
}
],
"disable": false
}
}
```
--
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]