Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to new nginx-ingress rewrite rules #1

Open
teyckmans opened this issue May 15, 2020 · 0 comments
Open

Update to new nginx-ingress rewrite rules #1

teyckmans opened this issue May 15, 2020 · 0 comments

Comments

@teyckmans
Copy link
Collaborator

From the nginx-ingress docs:

Starting in Version 0.22.0, ingress definitions using the annotation nginx.ingress.kubernetes.io/rewrite-target are not backwards compatible with previous versions. In Version 0.22.0 and beyond, any substrings within the request URI that need to be passed to the rewritten path must explicitly be defined in a capture group.

Update to the latest version and update the sample.

Docs link:
https://kubernetes.github.io/ingress-nginx/examples/rewrite/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant