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/11/24 07:19:37 UTC

[GitHub] [apisix-ingress-controller] lxm opened a new issue #768: request help: path like /api/*/action

lxm opened a new issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768


   ### Issue description
   
   using apiroute crd to set path with `/api/*/action` will get an error
   
   how to set path like `/api/*/action` with apiroute
   
   ### Environment
   
   * your apisix-ingress-controller version 1.3.0
   * your Kubernetes cluster version 1.18
   * if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (`uname -a`).
   


-- 
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-ingress-controller] jikunchong commented on issue #768: request help: path like /api/*/action

Posted by GitBox <gi...@apache.org>.
jikunchong commented on issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768#issuecomment-977613087


   http://apisix.apache.org/docs/ingress-controller/concepts/annotations/#rewrite-target


-- 
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-ingress-controller] tokers commented on issue #768: request help: path like /api/*/action

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


   Currently, APISIX doesn't support an infix wildcard match.


-- 
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-ingress-controller] tao12345666333 commented on issue #768: request help: path like /api/*/action

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768#issuecomment-977747985


   We need some discussion, or can rewrite meet your needs?


-- 
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-ingress-controller] tao12345666333 closed issue #768: request help: path like /api/*/action

Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768


   


-- 
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-ingress-controller] lxm edited a comment on issue #768: request help: path like /api/*/action

Posted by GitBox <gi...@apache.org>.
lxm edited a comment on issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768#issuecomment-978749574


   > We need some discussion, or can rewrite meet your needs?
   
   rewrite can't do this.
   
   I'm using nginx-ingress now, for example , I'm using this to spec different backends
   
   ```
   /api/srv-1/.*/action1 =>  backend1:port
   /api/srv-1/.*/action2 =>  backend2: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-ingress-controller] lxm commented on issue #768: request help: path like /api/*/action

Posted by GitBox <gi...@apache.org>.
lxm commented on issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768#issuecomment-978749574


   > We need some discussion, or can rewrite meet your needs?
   
   rewrite can do this.
   
   I'm using nginx-ingress now, for example , I'm using this to spec different backends
   
   ```
   /api/srv-1/.*/action1 =>  backend1:port
   /api/srv-1/.*/action2 =>  backend2: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-ingress-controller] lxm commented on issue #768: request help: path like /api/*/action

Posted by GitBox <gi...@apache.org>.
lxm commented on issue #768:
URL: https://github.com/apache/apisix-ingress-controller/issues/768#issuecomment-977732148


   > Currently, APISIX doesn't support an infix wildcard match.
   
   any plan to add this support?


-- 
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-ingress-controller] tokers commented on issue #768: request help: path like /api/*/action

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


   > 
   
   There is a word around solution, you can use the regex match in the `exprs`.


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