How to get APISIX variable #12146
Replies: 1 comment 2 replies
-
Hello @renshunhang! I'm Dosu, your friendly bot here to help you with bugs, answer questions, and guide you on your journey to becoming a contributor! While you wait for a human maintainer, feel free to ask anything. 😊 To obtain the function _M.balancer(conf, ctx)
core.log.notice("IP: ", ctx.balancer_ip, ", Port: ", ctx.balancer_port)
end In this example, To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In the plugin I developed, I want to use APISIX variable, such as balancer_ip. Which method should I use to obtain them?

Beta Was this translation helpful? Give feedback.
All reactions