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 03:34:03 UTC

[GitHub] [apisix] Rehtt opened a new issue #5260: request help: domain name plus port access

Rehtt opened a new issue #5260:
URL: https://github.com/apache/apisix/issues/5260


   ### Issue description
   
   Can domain plus port access?
   eg:
   `test1.com:1234  ->  1.1.1.1:1234`
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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



[GitHub] [apisix] Rehtt removed a comment on issue #5260: request help: domain name plus port access

Posted by GitBox <gi...@apache.org>.
Rehtt removed a comment on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945530814


   How to achieve
   eg:
   test1.com:1234 -> 1.1.1.1:1234
   test2.com:2345 -> 2.2.2.2:2345


-- 
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



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

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945567014


   > > > 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).
   
   If not, please describe your demands deliberately.


-- 
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



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

Posted by GitBox <gi...@apache.org>.
Rehtt commented on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945530814


   How to achieve
   eg:
   test1.com:1234 -> 1.1.1.1:1234
   test2.com:2345 -> 1.1.1.1:2345


-- 
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



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

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945441561


   Yes


-- 
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



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

Posted by GitBox <gi...@apache.org>.
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



[GitHub] [apisix] Rehtt edited a comment on issue #5260: request help: domain name plus port access

Posted by GitBox <gi...@apache.org>.
Rehtt edited a comment on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945530814


   How to achieve
   eg:
   test1.com:1234 -> 1.1.1.1:1234
   test2.com:2345 -> 2.2.2.2:2345


-- 
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



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

Posted by GitBox <gi...@apache.org>.
Rehtt commented on issue #5260:
URL: https://github.com/apache/apisix/issues/5260#issuecomment-945532273


   > Yes
   
   How to achieve
   eg:
   test1.com:1234 -> 1.1.1.1:1234
   test2.com:2345 -> 2.2.2.2:2345


-- 
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