Update base-url-scheme for nginx configuration.md
This commit is contained in:
parent
68685edfc9
commit
dedd787668
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,7 @@ The following annotations are supported:
|
||||||
|Name |type|
|
|Name |type|
|
||||||
|---------------------------|------|
|
|---------------------------|------|
|
||||||
|[ingress.kubernetes.io/add-base-url](#rewrite)|true or false|
|
|[ingress.kubernetes.io/add-base-url](#rewrite)|true or false|
|
||||||
|
|[ingress.kubernetes.io/base-url-scheme](#rewrite)|string|
|
||||||
|[ingress.kubernetes.io/app-root](#rewrite)|string|
|
|[ingress.kubernetes.io/app-root](#rewrite)|string|
|
||||||
|[ingress.kubernetes.io/affinity](#session-affinity)|cookie|
|
|[ingress.kubernetes.io/affinity](#session-affinity)|cookie|
|
||||||
|[ingress.kubernetes.io/auth-realm](#authentication)|string|
|
|[ingress.kubernetes.io/auth-realm](#authentication)|string|
|
||||||
|
@ -190,6 +191,8 @@ Set the annotation `ingress.kubernetes.io/rewrite-target` to the path expected b
|
||||||
|
|
||||||
If the application contains relative links it is possible to add an additional annotation `ingress.kubernetes.io/add-base-url` that will prepend a [`base` tag](https://developer.mozilla.org/en/docs/Web/HTML/Element/base) in the header of the returned HTML from the backend.
|
If the application contains relative links it is possible to add an additional annotation `ingress.kubernetes.io/add-base-url` that will prepend a [`base` tag](https://developer.mozilla.org/en/docs/Web/HTML/Element/base) in the header of the returned HTML from the backend.
|
||||||
|
|
||||||
|
If the scheme of [`base` tag](https://developer.mozilla.org/en/docs/Web/HTML/Element/base) need to be specific, set the annotation `ingress.kubernetes.io/base-url-scheme` to the scheme such as `http` and `https`.
|
||||||
|
|
||||||
If the Application Root is exposed in a different path and needs to be redirected, set the annotation `ingress.kubernetes.io/app-root` to redirect requests for `/`.
|
If the Application Root is exposed in a different path and needs to be redirected, set the annotation `ingress.kubernetes.io/app-root` to redirect requests for `/`.
|
||||||
|
|
||||||
Please check the [rewrite](/examples/rewrite/nginx/README.md) example.
|
Please check the [rewrite](/examples/rewrite/nginx/README.md) example.
|
||||||
|
|
Loading…
Reference in a new issue