ecoupal-believe opened a new issue, #1669:
URL: https://github.com/apache/apisix-ingress-controller/issues/1669
### 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 I
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]