Baoyuantop commented on issue #12674: URL: https://github.com/apache/apisix/issues/12674#issuecomment-3976591677
The `vars_combinations` pattern (introduced by Issue #3261) can serve as a workaround for current needs. Users can replace `hash_on` with `vars_combinations`, setting the key to `$client_real_ip` or `$http_cdn_src_ip`. This avoids the schema whitelist while maintaining essentially the same runtime logic as the `vars` pattern. However, fundamentally, the schema whitelist design in the `vars` pattern suffers from excessive restrictions and should be relaxed to support all valid Nginx variable names. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
