kjdev/nginx-keyval

Redis zone doesn't work

Opened this issue · 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

kjdev commented

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

redis-cli SET handler:disabled 1