File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ Note that at least [ngx_lua 0.5.14](https://github.com/chaoslawful/lua-nginx-mod
2323Synopsis
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
479481If 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
481483lua-resty-redis by default. And you can just use it in your Lua code,
482484as 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
488490the lua_package_path directive to add the path of your lua-resty-redis source
489491tree 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+
497502TODO
498503====
499504
You can’t perform that action at this time.
0 commit comments