Kubernetes-ingress: Rewrite the URI of a request before sending it to the application for VirtualServer configuration

Created on 27 Nov 2019  路  3Comments  路  Source: nginxinc/kubernetes-ingress

Is there a way to rewrite the URI of a request if use kind: VirtualServer?
Something like nginx.org/rewrites works for kind: Ingress

enhancement proposal

Most helpful comment

LGTM, it is a real good feature for us as well. In some cases, like multi not-related backends are forwarded by one domain, and use different paths to forward the traffic, and the backends don't want to know what the prefix paths are. It would be helpful in this case.

And any progress for this feature?

All 3 comments

Hi @crossdot

Currently it is not possible to use rewrite in VirtualServers. We're working to keep adding features to our CRDs (VS and VSR) and this is a good use case/feature for it. It will take some time to have all of the features from annotations into our CRDs, but they will be there (and more!)

We'll use this issue to keep track of this, thanks for your suggestion.

LGTM, it is a real good feature for us as well. In some cases, like multi not-related backends are forwarded by one domain, and use different paths to forward the traffic, and the backends don't want to know what the prefix paths are. It would be helpful in this case.

And any progress for this feature?

This was implemented here as rewritePath

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bprashanth picture bprashanth  路  6Comments

nabheet picture nabheet  路  7Comments

toddams picture toddams  路  6Comments

ajpinedam picture ajpinedam  路  4Comments

RazaGR picture RazaGR  路  7Comments