OpenResty® Scalable Web Platform by Extending NGINX with Lua

New! OpenResty 1.21.4.1 is now released!
New! Test::Nginx 0.30 is now released!
New! New blog post Configure HTTP basic auth in OpenResty Edge is published.
New! New blog post How to use custom dynamic metrics in OpenResty Edge is published.
New! New blog post Limit Request Rate by Custom Keys in OpenResty Edge is published.

Redis Nginx Module

Yichun Zhang , 13 Sep 2012 (created 13 May 2012)

This is an Nginx upstream module that makes nginx talk to a redis 2.x server in a non-blocking way. It has a similar interface with the standard ngx_memcached module, but only Redis GET and SELECT commands are supported.

This module returns the decoded result from the Redis server.

This module is written by Sergey A. Osokin.

This module is enabled by default and can be disabled by passing the --without-http_redis_module option to the ./configure script for OpenResty.

Documentation wiki page: http://wiki.nginx.org/HttpRedisModule

When used in conjunction with LuaNginxModule, it is recommended to use LuaRestyRedisLibrary instead of this one, since it is more flexible and more memory-efficient.