wangyjx opened a new issue #1535:
URL: https://github.com/apache/incubator-apisix/issues/1535


   ### Issue description
   I am trying to start apisix in standalone mode, but unfortunately I dont 
know how to make the route to match the host.  
   
   My route configuration is like 
   
   routes:
     -
       uri: /hello
       upstream:
           nodes:
               "127.0.0.1:1980": 1
           type: roundrobin
   
     -
       uri: /serviceStatus
       host: test.xxx.com
       upstream:
           nodes:
               "somehost:32407": 1
           type: roundrobin
   
   #END
   
   when I try to visit http://test.xxx.com/serviceStatus, it always return 
   
   "error_msg": "failed to match any routes". 
   
   Can help me to figure this out?
   
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.1
   * OS: Centos 7.6, docker 
   


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


Reply via email to