Re: How to call redis2-nginx-module or any other module from another module

2014-08-12 Thread Yichun Zhang (agentzh)
Hello! On Tue, Aug 12, 2014 at 5:16 AM, ajaybodhe wrote: > redis2-nginx-module is written with all location configs. > Does it mean that the module can only be called from browser with some url? > If I want to introduce new module into reuest processing path & call > redis2-nginx-module to fetch d

Re: How to call redis2-nginx-module or any other module from another module

2014-08-12 Thread Wandenberg Peixoto
By default redis2-nginx-module execute some commands on redis and return the redis response to the client directly. So you receive something like +OK $5 world If you want to manipulate this response on you nginx.conf ("config") you have to do more work, probably using another language like lua. If

Re: How to call redis2-nginx-module or any other module from another module

2014-08-12 Thread ajaybodhe
Thanks @wandenberg. Can you clarify more on, what do you mean by getting the value from "config" : But, if you want to get the value from your "config" and use it there, Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252501,252506#msg-252506 __

Re: How to call redis2-nginx-module or any other module from another module

2014-08-12 Thread Wandenberg Peixoto
If you need to call redis from your code, you can take a look on redis_nginx_adapter . But, if you want to get the value from your "config" and use it there, probably you have to use some other language like perl or lua, I'm not 100% sure On Tue,

How to call redis2-nginx-module or any other module from another module

2014-08-12 Thread ajaybodhe
redis2-nginx-module is written with all location configs. Does it mean that the module can only be called from browser with some url? If I want to introduce new module into reuest processing path & call redis2-nginx-module to fetch data from redis how I can do it? Posted at Nginx Forum: http://fo