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 2019/12/07 19:39:53 UTC

[GitHub] [incubator-apisix] sshniro edited a comment on issue #948: request help: How to configure a route to a remote endpoint

sshniro edited a comment on issue #948: request help: How to configure a route to a remote endpoint
URL: https://github.com/apache/incubator-apisix/issues/948#issuecomment-562879878
 
 
   How can I provide a path like `test/example` to access the example.com?
   
   Like: `curl -i http://127.0.0.1:9080/test/example -X GET` should return the example.com
   
   Because I have multiple domains that need different paths/prefix. 
   For example: (Domain1: foo.com , Domain 2: bar.com)
   The APISIX URLs to access the domains:
   `http://127.0.0.1:9080/service/foo` should point to foo.com
   `http://127.0.0.1:9080/service/bar` should point to bar.com
   
   Is this kind of workflow supported in APISIX? An example snippet would be helpful, I could not find any relevant docs for this.
   
   @membphis @moonming  

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


With regards,
Apache Git Services