alberto-corrales commented on issue #10827:
URL: https://github.com/apache/apisix/issues/10827#issuecomment-2269049436

   > Sorry for the delay, I checked the other issue and "pass_host" being set 
to "node" **worked** for me. Not sure if it requires documentation update since 
idk if the issue is on my end as I am new to apisix and networking in general. 
Closing the issue for now. Thanks.
   
   I confirm the example doesn't work if you don't specify `pass_host` as 
`node`. The example in the documentation should be:
   
   ```
   curl -i "http://127.0.0.1:9180/apisix/admin/routes"; -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
     "id": "getting-started-ip",
     "uri": "/ip",
     "upstream": {
       "type": "roundrobin",
       "nodes": {
         "httpbin.org:80": 1
       },
        "pass_host": "node"
     }
   }'
   
   
   ```


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