hozaifaaoud commented on issue #4054:
URL: https://github.com/apache/apisix/issues/4054#issuecomment-820695697


   > The addresses in upstream nodes need to be configured with a domain name 
or IP. Your route should be created like this:
   > 
   > ```shell
   > curl http://127.0.0.1:9080/apisix/admin/routes/2 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   > {
   > "uri": "/testrouting",
   > "upstream": {
   > "type": "roundrobin",
   > "nodes": {
   > "127.0.0.1:9090": 1
   > }
   > }
   > }'
   > ```
   
   


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