You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ecoupal-believe (via GitHub)" <gi...@apache.org> on 2023/02/14 12:59:49 UTC
[GitHub] [apisix] ecoupal-believe opened a new issue, #8854: feat: As a user, I would like a strip-path annotation feature like kong has
ecoupal-believe opened a new issue, #8854:
URL: https://github.com/apache/apisix/issues/8854
### Description
I have an ingress that look like that:
```
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: api
annotations:
k8s.apisix.apache.org/strip-path: "true"
spec:
ingressClassName: apisix
rules:
- host: api.mycorp
http:
paths:
- path: /api1
pathType: Prefix
backend:
service:
name: api1
port:
number: 80
- path: /api2
pathType: Prefix
backend:
service:
name: api2
port:
number: 80
- path: /api3
pathType: Prefix
backend:
service:
name: api3
port:
number: 80
```
I want the upstream path to look like `/test-action?apikey=1234` when access the following url url: `https://api.mycorp/api2/test-action?apikey=1234`
I already tried with `k8s.apisix.apache.org/rewrite-target-regex` and `k8s.apisix.apache.org/rewrite-target-regex-template` without any success.
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] ecoupal-believe closed issue #8854: feat: As a user, I would like a strip-path annotation feature like kong has
Posted by "ecoupal-believe (via GitHub)" <gi...@apache.org>.
ecoupal-believe closed issue #8854: feat: As a user, I would like a strip-path annotation feature like kong has
URL: https://github.com/apache/apisix/issues/8854
--
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