Skip to content

Conversation

chronolaw
Copy link
Contributor

@chronolaw chronolaw commented Oct 20, 2022

Add directive and API description for PR #41.

@chronolaw chronolaw marked this pull request as ready for review October 20, 2022 11:25

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).

Copy link
Contributor

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)

Copy link
Contributor Author

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.

@fffonion fffonion merged commit d98e381 into master Oct 31, 2022
@fffonion fffonion deleted the docs/static_tag branch October 31, 2022 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants