-
Notifications
You must be signed in to change notification settings - Fork 22
docs(readme): doc for lua_kong_set_static_tag #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
Add a static tag string for Nginx's `location`(http subsystem) or `server`(stream subsystem) block, | ||
which can be accessed in Lua land by [`resty.kong.tag.get`](#restykongtagget). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's decribe the scope of this tag, it can just reflect the behaviour we observed in tests (derive from server block to location, isolate beteen locations, works in nested location, doesn't work in sub query etc)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some description.
Another thing, this directive only works in http/location
or stream/server
, we can not define tags in http/server
now. so no deriving from server block.
Add directive and API description for PR #41.