docs(annotations): explicit redirect status code

This commit is contained in:
Julien Bouquillon 2020-11-15 00:31:04 +01:00 committed by GitHub
parent 8a218687e3
commit f6a430775c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -492,7 +492,7 @@ The client IP address will be set based on the use of [PROXY protocol](./configm
### Permanent Redirect
This annotation allows to return a permanent redirect instead of sending data to the upstream. For example `nginx.ingress.kubernetes.io/permanent-redirect: https://www.google.com` would redirect everything to Google.
This annotation allows to return a permanent redirect (Return Code 301) instead of sending data to the upstream. For example `nginx.ingress.kubernetes.io/permanent-redirect: https://www.google.com` would redirect everything to Google.
### Permanent Redirect Code