nginx-keyval icon indicating copy to clipboard operation
nginx-keyval copied to clipboard

Redis zone doesn't work

Open jaimedelano opened this issue 2 years ago • 1 comments

Redis zone doesn't work with Nginx 1.23.3

keyval_zone_redis zone=handler; keyval disabled $inactive zone=handler;

redis-cli SET disabled 1

redis-cli GET disabled returns "1" but Nginx variable $inactive is empty

jaimedelano avatar Aug 27 '23 19:08 jaimedelano

Redis uses a key that combines the zone name and key name. ({zone}:{key})

redis-cli SET handler:disabled 1

kjdev avatar Aug 28 '23 02:08 kjdev