Nginx redis, select database not working?

Sergey A. Osokin osa at FreeBSD.org.ru
Tue Jun 7 22:51:28 MSD 2011


Hi.

On Sat, Jun 04, 2011 at 08:40:20AM -0400, logar.damir wrote:
> I'm having problem with redis module: http://wiki.nginx.org/HttpRedis
> (version 0.32 downloaded from mirror at
> https://github.com/elcuervo/nginx_http_redis) 

I don't know anything about this URL.  Original sources available
from http://people.freebsd.org/~osa/

> As I tried, variable $redis_db is never used and result always comes
> from "default" - database 0.  
> Am I missing something in my config?

[skipped]
 
> As I can see, command always issues select 0, although it should run
> select 1 in second case.

Patch.

-- 
Sergey A. Osokin
osa at FreeBSD.ORG.ru
osa at FreeBSD.ORG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-ngx_http_redis_module.c
Type: text/x-csrc
Size: 295 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20110607/673d3d67/attachment.c>


More information about the nginx mailing list