Skip to content

Commit 31ba7ff

Browse files
晏旭瑞agentzh
authored andcommitted
doc: fixed the incr config example in README.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
1 parent 4c82d10 commit 31ba7ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ Increments the existing value of `$memc_key` by the amount specified by `$memc_v
362362
```nginx
363363
364364
location /foo {
365+
set $memc_cmd incr;
365366
set $memc_key my_key;
366367
set $memc_value 2;
367368
memc_pass 127.0.0.1:11211;

0 commit comments

Comments
 (0)