You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/18 09:11:13 UTC

[GitHub] [apisix] membphis commented on issue #2071: request help: What is hosts in route?

membphis commented on issue #2071:
URL: https://github.com/apache/apisix/issues/2071#issuecomment-675361027


   1. please update your APISIX to latest version 1.5
   2. the `域名` means the field which named `host`. it is the host of client request.
   
   ```
   # curl http://127.0.0.1:9080/hello -H "host: foo.com"
   
   in this case, the host is foo.com
   ```
   
   https://github.com/apache/apisix/blob/master/doc/admin-api.md#route
   
   ![image](https://user-images.githubusercontent.com/6814606/90494141-c2921c00-e175-11ea-9eb5-cc18b82809d8.png)
   
   
   


----------------------------------------------------------------
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:
users@infra.apache.org