backnero commented on issue #1508:
URL:
https://github.com/apache/incubator-apisix/issues/1508#issuecomment-619569764
Thank you very much. It works
nero black
邮箱:[email protected]
Signature is customized by Netease Mail Master
On 04/26/2020 22:29, Vinci Xu wrote:
The key code is as below
...
for _, name in ipairs(upstream_names) do
if conf[name] then
ctx.var[upstream_vars[name]] = conf[name]
end
end
...
if you want your host parameter setting to nginx, you should place your code
snippet before it.
—You are receiving this because you authored the thread.Reply to this email
directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target":
"https://github.com/apache/incubator-apisix/issues/1508#issuecomment-619560681",
"url":
"https://github.com/apache/incubator-apisix/issues/1508#issuecomment-619560681",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]