Merge pull request #6481 from revolunet/patch-1

docs(annotations): explicit redirect status code
This commit is contained in:
Kubernetes Prow Robot 2020-11-14 17:07:04 -08:00 committed by GitHub
commit e9755496a3
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