You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/02/26 02:11:37 UTC

[GitHub] [apisix] spacewander commented on issue #3674: When multiple plugins are configured in plugin_config, only one takes effect

spacewander commented on issue #3674:
URL: https://github.com/apache/apisix/issues/3674#issuecomment-786360687


   I try it at my side and can't reproduce it. My etcd data:
   
   ```
   $ etcdctl get /apisix/routes --prefix
   /apisix/routes/
   init_dir
   /apisix/routes/1
   {"update_time":1614305330,"plugin_config_id":1,"create_time":1614235098,"priority":0,"uri":"\/test\/*","id":"1","upstream":{"pass_host":"pass","nodes":{"127.0.0.1:23790":1},"scheme":"http","hash_on":"vars","type":"roundrobin"},"status":1}
   $ etcdctl get /apisix/plugin_config --prefix
   /apisix/plugin_configs/
   init_dir
   /apisix/plugin_configs/1
   {"id":"1","create_time":1614250686,"update_time":1614250856,"plugins":{"response-rewrite":{"headers":{"X-VERSION":"1.0"}},"uri-blocker":{"block_rules":["root.exe","root.m+"]}}}
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org