生产环境用什么功能,就编译什么模块。个人建议--with-luajit一定要加。
详细编译参数查看:
cd path/to/openresty
./configure --help
On Monday, December 17, 2012 11:53:02 AM UTC+8, Nero.Ping wrote:
我自己的机器上的openresty编辑指令:
./configure --prefix=/home/zhen/app/openresty --with-luajit --user=zhen --group=zhen --pid-path=/home/zhen/temp/nginx/openresty.pid --error-log-path=/home/zhen/temp/openresty_error.log
我编译下来的nginx有11M之多,我如果要把他部署到生产环境,是不是还需要哪些特殊的编译参数啊?
thanks!
--
with kind regards