https://github.com/wklken/apisix-extra-plugins
some plugins
https://github.com/wklken/apisix-extra-plugins
apisix apisix-plugin
Last synced: 3 months ago
JSON representation
some plugins
- Host: GitHub
- URL: https://github.com/wklken/apisix-extra-plugins
- Owner: wklken
- License: apache-2.0
- Created: 2023-04-16T08:46:22.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-08T16:26:48.000Z (almost 2 years ago)
- Last Synced: 2025-01-05T18:36:08.705Z (5 months ago)
- Topics: apisix, apisix-plugin
- Language: Lua
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apisix-plugins
unofficial plugin for apisix
## plugins
- [buffered-file-logger](./apisix/plugins/buffered-file-logger.lua): file-logger with batch processor
- [file-log-rotate](./apisix/plugins/file-log-rotate.lua): rotate for access.log generated by `file-logger`/`buffered-file-logger`## usage
according to the [apisix doc: plugin develop](https://apisix.apache.org/docs/apisix/plugin-develop/)
1. `git clone https://github.com/wklken/apisix-extra-plugins.git`
2. `apisix.extra_lua_path = "/path/to/apisix-extra-plugins/?.lua"` in `conf/config.yaml`
3. enable the plugin by name in `plugins` field of `conf/config.yaml````yaml
apisix:
...
extra_lua_path: "/path/to/example/?.lua"
plugins:
...
- buffered-file-logger
```