Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

more documentation added to README.

  • Loading branch information...
commit 5c35c02f3d41d1ca4736335b256a2c21e725f566 1 parent 321f732
Yichun Zhang authored April 04, 2011

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. 11  README
11  README
@@ -84,6 +84,10 @@ Description
84 84
 
85 85
 Directives
86 86
     redis2_query arg1 arg2 ...
  87
+        Specify a redis command by specifying its individual arguments
  88
+        (including the redis command name itself) in a
  89
+        similar way to the redis-cli utility.
  90
+
87 91
         Multiple instances of this directive are allowd in
88 92
         a single location and these queries will be pipelined.
89 93
 
@@ -107,6 +111,11 @@ Directives
107 111
         Specify raw redis queries and nginx variables are recognized
108 112
         in the CMD argument.
109 113
 
  114
+        Only one redis command is allowed in the CMD argument, or
  115
+        you'll receive an error. If you want to specify multiple
  116
+        pipelined commands in a single query, use the redis2_raw_queries
  117
+        directive instead.
  118
+
110 119
     redis2_raw_queries N CMDS
111 120
         Specify N commands in the CMDS argument. Both the N and CMDS
112 121
         arguments can take nginx variables.
@@ -136,6 +145,8 @@ Directives
136 145
         that is to say, you're free to use the dollar sign characters ($)
137 146
         in your CMD argument.
138 147
 
  148
+        Only one redis command is allowed in the CMD argument.
  149
+
139 150
     redis2_pass
140 151
 
141 152
     redis2_connect_timeout

0 notes on commit 5c35c02

Please sign in to comment.
Something went wrong with that request. Please try again.