This is an automated email from the ASF dual-hosted git repository.
sylviasu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 024e0ef70 dix remote_addr (#8210)
024e0ef70 is described below
commit 024e0ef70b5e403e11eb7a2f4abb59675a657081
Author: chengxiaolan <[email protected]>
AuthorDate: Tue Nov 1 08:39:21 2022 +0800
dix remote_addr (#8210)
---
docs/en/latest/admin-api.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index ecdd046c7..3fbbb3e62 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -650,7 +650,7 @@ In addition to the equalization algorithm selections,
Upstream also supports pas
| service_name | required, can't be used with `nodes` |
Service name used for [service discovery](discovery.md).
[...]
| discovery_type | required, if `service_name` is used |
The type of service [discovery](discovery.md).
[...]
| hash_on | optional |
Only valid if the `type` is `chash`. Supports Nginx variables (`vars`), custom
headers (`header`), `cookie` and `consumer`. Defaults to `vars`.
[...]
-| key | optional |
Only valid if the `type` is `chash`. Finds the corresponding node `id`
according to `hash_on` and `key` values. When `hash_on` is set to `vars`, `key`
is a required parameter and it supports [Nginx
variables](http://nginx.org/en/docs/varindex.html). When `hash_on` is set as
`header`, `key` is a required parameter, and `header name` can be customized.
When `hash_on` is set to `cookie`, `key` is also a required p [...]
+| key | optional |
Only valid if the `type` is `chash`. Finds the corresponding node `id`
according to `hash_on` and `key` values. When `hash_on` is set to `vars`, `key`
is a required parameter and it supports [Nginx
variables](http://nginx.org/en/docs/varindex.html). When `hash_on` is set as
`header`, `key` is a required parameter, and `header name` can be customized.
When `hash_on` is set to `cookie`, `key` is also a required p [...]
| checks | optional |
Configures the parameters for the [health check](./tutorials/health-check.md).
[...]
| retries | optional |
Sets the number of retries while passing the request to Upstream using the
underlying Nginx mechanism. Set according to the number of available backend
nodes by default. Setting this to `0` disables retry.
[...]
| retry_timeout | optional |
Timeout to continue with retries. Setting this to `0` disables the retry
timeout.
[...]