Skip to content

Commit

Permalink
more documentation added to README.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Apr 4, 2011
1 parent 321f732 commit 5c35c02
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README
Expand Up @@ -84,6 +84,10 @@ Description

Directives
redis2_query arg1 arg2 ...
Specify a redis command by specifying its individual arguments
(including the redis command name itself) in a
similar way to the redis-cli utility.

Multiple instances of this directive are allowd in
a single location and these queries will be pipelined.

Expand All @@ -107,6 +111,11 @@ Directives
Specify raw redis queries and nginx variables are recognized
in the CMD argument.

Only one redis command is allowed in the CMD argument, or
you'll receive an error. If you want to specify multiple
pipelined commands in a single query, use the redis2_raw_queries
directive instead.

redis2_raw_queries N CMDS
Specify N commands in the CMDS argument. Both the N and CMDS
arguments can take nginx variables.
Expand Down Expand Up @@ -136,6 +145,8 @@ Directives
that is to say, you're free to use the dollar sign characters ($)
in your CMD argument.

Only one redis command is allowed in the CMD argument.

redis2_pass

redis2_connect_timeout
Expand Down

0 comments on commit 5c35c02

Please sign in to comment.