Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

路径问题 #94

Open
603627156 opened this issue Aug 14, 2018 · 1 comment
Open

路径问题 #94

603627156 opened this issue Aug 14, 2018 · 1 comment

Comments

@603627156
Copy link

lua_package_path "/usr/local/dygateway/luacode/ab/?.lua;/usr/local/dygateway/luacode/ab/lib/?.lua;/usr/local/dygateway/luacode/ab/lib/lua-resty-core/lib/?.lua;;";

发现没有ab这个目录怎么回事?

@603627156
Copy link
Author

nginx配置过程
Step 1. 在nginx.conf中,http配置块里,添加如下配置。该配置在nginx全局有效。
#打开lua的代码缓存
lua_code_cache on;
#lua代码的路径
lua_package_path "/usr/local/dygateway/luacode/ab/?.lua;/usr/local/dygateway/luacode/ab/lib/?.lua;/usr/local/dygateway/luacode/ab/lib/lua-resty-core/lib/?.lua;;";
这儿发现源码下没有/ab/这个目录怎么回事?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant