Hi, I am new to Kong. I setup a Kong Docker and it works well (Try Official 5 minutes tutorial)
Then, I try to install custom plugin : https://github.com/brndmg/kong-plugin-hello-world
Step A
- Git Clone
- luarocks make
- luarocks pack kong-plugin-hello-world 0.1-1
- luarocks install kong-plugin-hello-world
Step B: Load hello world plugin into Kong
Try 1: Modify /etc/kong/kong.conf.default by adding custom_plugins = kong-plugin-hello-world
Try 2. Add kong.yml to /etc/kong/ and
adding
custom_plugins:
- kong-plugin-hello-world
Try 3. Adding “export KONG_CUSTOM_PLUGINS=kong-plugin-hello-world” to .bashrc,
All the trial on Step B will restart Kong docker, but no one of them can load the plugin.
Anyone can help?