ngx_openresty 自己的 ./configure 脚本支持所有 nginx 的 ./configure 脚本选项:
$ ./configure --help|grep add-module
--add-module=PATH enable an external module
事实上,所有 ngx_openresty 的 ./configure 脚本不认识的选项都会自动传递给 nginx 的 ./configure 脚本。
如果你同时需要给 nginx 核心或者其他组件打补丁的话,可以直接修改 bundle/
目录下的对应的源码。修改完之后,还是需要在顶层目录上执行正常的 ./configure && make && make install
的安装步骤。
Regards,
-agentzh
--
邮件自: 列表“openresty”,专用于技术讨论!
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
详情: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
建议: 提问的智慧 http://wiki.woodpecker.org.cn/moin/AskForHelp
教程: http://agentzh.org/misc/nginx/agentzh-nginx-tutorials-zhcn.html
我编写的 lua-resty-* 模块已默认包含在了 ngx_openresty 中,见组件列表清单:
http://openresty.org/#Components
如果你需要安装自己的 Lua 模块,直接安装进系统中,或者安装到 /usr/local/openresty/lualib/
下。当然也安装到其他任意位置上,但需要同时配置好 lua_package_path 和 lua_package_cpath 指令 :)
Regards,
-agentzh