-
When we use upstream use chash balancer, then choose hash on vars_combination, but how to config? No document find 😢 |
Beta Was this translation helpful? Give feedback.
Answered by
soulbird
Mar 29, 2022
Replies: 1 comment
-
reference: https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#upstream Related Instructions: The following should be considered when setting the
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
huang-x-h
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reference: https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#upstream
Related Instructions:
The following should be considered when setting the
hash_on
value:vars
, akey
is required. The value of the key can be any of the Nginx variables without the$
prefix.header
, akey
is required. This is equal to "http_key
".cookie
, akey
is required. This key is equal to "cookie_key
". The cookie name is case-sensitive.consumer
, thekey
is optional and the key is set to theconsumer_name
captured from the authentication Plugin.vars_combinations
, thekey
is required. The value of the key can be a combination of any…