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 2021/10/18 09:11:53 UTC

[GitHub] [apisix] tokers commented on issue #5260: request help: domain name plus port access

tokers commented on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945566191


   > > Yes
   > 
   > How to achieve eg: test1.com:1234 -> 1.1.1.1:1234 test2.com:2345 -> 2.2.2.2:2345
   
   So you want to use the domain + port combination as the route match conditions? And try to forward requests to different backends?
   
   Try to split them into two conditions, use the `hosts` in Route object and the `vars` expression (to limit the server port).


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org