Fix proxy_redirect description (#2102)

This commit is contained in:
Mathieu Parent 2018-02-16 18:59:12 +01:00 committed by Manuel Alejandro de Brito Fontes
parent f468007d6c
commit b02c0f502a

View file

@ -399,7 +399,7 @@ In some scenarios is required to have different values. To allow this we provide
### Proxy redirect ### Proxy redirect
With the annotations `nginx.ingress.kubernetes.io/proxy-redirect-from` and `nginx.ingress.kubernetes.io/proxy-redirect-to` it is possible to set the text that should be changed in the `Location` and `Refresh` header fields of a proxied server response (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect) With the annotations `nginx.ingress.kubernetes.io/proxy-redirect-from` and `nginx.ingress.kubernetes.io/proxy-redirect-to` it is possible to set the text that should be changed in the `Location` and `Refresh` header fields of a proxied server response (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_redirect)
Setting "off" or "default" in the annotation `nginx.ingress.kubernetes.io/proxy-redirect-to` disables `nginx.ingress.kubernetes.io/proxy-redirect-to` Setting "off" or "default" in the annotation `nginx.ingress.kubernetes.io/proxy-redirect-from` disables `nginx.ingress.kubernetes.io/proxy-redirect-to`
Both annotations will be used in any other case Both annotations will be used in any other case
By default the value is "off". By default the value is "off".