Skip to content

Commit 5246276

Browse files
committed
some docs love.
1 parent 00e493e commit 5246276

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.markdown

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Note that at least [ngx_lua 0.5.14](https://github.com/chaoslawful/lua-nginx-mod
2323
Synopsis
2424
========
2525

26+
# you do not need the following line if you are using
27+
# the ngx_openresty bundle:
2628
lua_package_path "/path/to/lua-resty-redis/lib/?.lua;;";
2729

2830
server {
@@ -477,14 +479,14 @@ Installation
477479
============
478480

479481
If you are using the ngx_openresty bundle (http://openresty.org ), then
480-
you don't need to do anything because it already includes and enables
482+
you do not need to do anything because it already includes and enables
481483
lua-resty-redis by default. And you can just use it in your Lua code,
482484
as in
483485

484486
local redis = require "resty.redis"
485487
...
486488

487-
If you're using your own nginx + ngx_lua build, then you need to configure
489+
If you are using your own nginx + ngx_lua build, then you need to configure
488490
the lua_package_path directive to add the path of your lua-resty-redis source
489491
tree to ngx_lua's LUA_PATH search path, as in
490492

@@ -494,6 +496,9 @@ tree to ngx_lua's LUA_PATH search path, as in
494496
...
495497
}
496498

499+
Ensure that the system account running your Nginx ''worker'' proceses have
500+
enough permission to read the `.lua` file.
501+
497502
TODO
498503
====
499504

0 commit comments

Comments
 (0)