Skip to content

How rewrite target working under the hood? #3119

Discussion options

You must be logged in to vote

@BinaryWorld2099 Hello there.
In looking at the information you have provided, it looks like you are using annotations for a different NGINX Ingress controller project.
This is the annotation you are using:

nginx.ingress.kubernetes.io/rewrite-target: 

That is for a different project.
The annotation you will want to use for this project is:

nginx.org/rewrites

Here is the link to our Ingress controller documentation and the annotations available.

https://docs.nginx.com/nginx-ingress-controller/configuration/ingress-resources/advanced-configuration-with-annotations/#request-uriheader-manipulation

Let us know how it goes and if you have any other questions.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by BinaryWorld2099
Comment options

You must be logged in to vote
1 reply
@jasonwilliams14
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants