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/05/14 15:09:29 UTC

[GitHub] [incubator-apisix] membphis commented on issue #1535: request help: in standalone mode, how to define the route rule to match the host

membphis commented on issue #1535:
URL: https://github.com/apache/incubator-apisix/issues/1535#issuecomment-628698326


   I think you should check your ENV again. I confirm it can work fine.
   
   Here is my fully yaml:
   
   ```
   routes:
     -
       uri: /hello
       upstream:
           nodes:
               "127.0.0.1:1980": 1
           type: roundrobin
     -
       uri: /hello2
       hosts:
           - test.com
           - *.foo.com
       upstream:
           nodes:
               "127.0.0.1:1980": 1
           type: roundrobin
   #END
   ```
   
   ![image](https://user-images.githubusercontent.com/6814606/81951577-ea825880-9637-11ea-8f72-f6054817ea07.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