dreek1337 opened a new issue, #9839:
URL: https://github.com/apache/apisix/issues/9839

   ### Description
   
   When creating the apisix.yaml configuration in standalone mode, for 
upstreams I need to specify the host and port in node as a key, but yaml cannot 
pull env for keys, so I want to suggest that it would be better to specify host 
and port separately for node.
   
   How it was:
   upstreams:
     - id: 1
       type: roundrobin
       nodes:
         ${APISIX_USERS_MS_HOST}:${APISIX_USERS_MS_PORT}: 1
       retries: 2
       
   How it will be:
   upstreams:
     - id: 1
       type: roundrobin
       nodes:
         1:
           host: ${APISIX_USERS_MS_HOST}
           port: ${APISIX_USERS_MS_PORT}
       retries: 2
       


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to