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 2022/03/29 07:52:23 UTC

[GitHub] [apisix] kingmouse-yx opened a new issue #6743: help request: How to Customize the Plugin Directory

kingmouse-yx opened a new issue #6743:
URL: https://github.com/apache/apisix/issues/6743


   ### Description
   
   I have some plugins that I developed myself. Can I customize the directory to store them?
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.12.1
   - Operating system (run `uname -a`):  Darwin kingmouse.lan 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): openresty/1.19.3.1
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): 3.4.0
   - APISIX Dashboard version, if relevant: 2.10.1
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] kingmouse-yx commented on issue #6743: help request: How to Customize the Plugin Directory

Posted by GitBox <gi...@apache.org>.
kingmouse-yx commented on issue #6743:
URL: https://github.com/apache/apisix/issues/6743#issuecomment-1081679508


   @soulbird 
   I added the extra_lua_path configuration to the apisix configuration file
   ```
     extra_lua_path: "/usr/local/apisix/third/UcEtcdCore.lua"
   ```
   But this error is reported when the service starts.
   
   Actually what I want to say is,
   Can the plugins I develop not be placed in the directory `/usr/local/apisix/apisix/plugins`.
   For example, the directory `/tmp/myPlugins`.
   


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] soulbird commented on issue #6743: help request: How to Customize the Plugin Directory

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #6743:
URL: https://github.com/apache/apisix/issues/6743#issuecomment-1081682042


   reference:https://github.com/apache/apisix/blob/master/docs/en/latest/plugin-develop.md


-- 
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: notifications-unsubscribe@apisix.apache.org

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



[GitHub] [apisix] soulbird commented on issue #6743: help request: How to Customize the Plugin Directory

Posted by GitBox <gi...@apache.org>.
soulbird commented on issue #6743:
URL: https://github.com/apache/apisix/issues/6743#issuecomment-1081547872


   You can load your code through this configuration:https://github.com/apache/apisix/blob/6cd7b8d024/conf/config-default.yaml#L52


-- 
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: notifications-unsubscribe@apisix.apache.org

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