apisix
apisix copied to clipboard
request help: What is hosts in route?
Issue description
excuse me,What is hosts in route?
In the new version of Dashboard, this is required, but I'm not sure what this is for. Although it's explained in the ADMIN Api, it still makes me confused, right? Can you explain that again? thank you
Environment
- apisix version (cmd:
apisix version):1.4 - OS:centos7
- please update your APISIX to latest version 1.5
- the
域名means the field which namedhost. 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
