This is an automated email from the ASF dual-hosted git repository. navendu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push: new 0cacb9072 docs: add plugin config to standalone deployment doc (#11332) 0cacb9072 is described below commit 0cacb90722d60dc6794328ea988e0ee6b5195ca5 Author: Traky Deng <trakyd...@gmail.com> AuthorDate: Fri Jun 7 00:15:25 2024 +0800 docs: add plugin config to standalone deployment doc (#11332) --- docs/en/latest/deployment-modes.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/en/latest/deployment-modes.md b/docs/en/latest/deployment-modes.md index 90ae0cded..016473db2 100644 --- a/docs/en/latest/deployment-modes.md +++ b/docs/en/latest/deployment-modes.md @@ -267,6 +267,26 @@ plugins: #END ``` +### How to configure Plugin Configs + +```yml +plugin_configs: + - + id: 1 + plugins: + response-rewrite: + body: "hello\n" +routes: + - id: 1 + uri: /hello + plugin_config_id: 1 + upstream: + nodes: + "127.0.0.1:1980": 1 + type: roundrobin +#END +``` + ### How to enable SSL ```yml