ShiningRush commented on issue #1508:
URL: 
https://github.com/apache/incubator-apisix/issues/1508#issuecomment-619560681


   The key code is as below
   ```lua
   ...
       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.


----------------------------------------------------------------
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]


Reply via email to