swtseaman commented on issue #8636:
URL: https://github.com/apache/apisix/issues/8636#issuecomment-1376640369

   > > 1、插件开发模板(example项目,可以直接参照的)
   > 
   > Maybe you can checkout some built-in plugins in this repo directly.
   > 
   > > 2、有没有自定义插件的默认存放地址,直接放到具体地址即可(是否必须配置 apisix -> extra_lua_path)
   > > Yes you need to configure the `extra_lua_path` field.
   > 
   > > 3、如何启用自定义插件,是否需要在 conf/config-default.yaml 的plugins节点添加自定义插件
   > 
   > Yes.
   > 
   > > 4、自定义插件如何添加到 apisix dashboard来进行界面化配置
   > 
   > @bzp2010 Could you answer this? Thanks!
   
   extra_lua_path应该怎么配置,是不是  /data/customer/lua_plugins
   然后我把插件文件 body_plugin.lua 放到 /data/customer/lua_plugins
   然后再到 conf/config-default.yaml的plugin节点添加 body-plugin 
   然后重启apisix
   最后用api给路由添加这个插件就可以了?


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

Reply via email to