-
-
Save voronenko-p/2dc58b8f6cbf6e83cf3d86190ea44af4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---[[ runs in the 'access_by_lua_block' | |
function plugin:access(plugin_conf) | |
-- your custom code here | |
kong.log.inspect(plugin_conf) -- check the logs for a pretty-printed config! | |
ngx.req.set_header(plugin_conf.request_header, "this is on a request") | |
end --]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment