1、下载drizzle模块
wget http://openresty.org/download/drizzle7-2011.07.21.tar.gz
2、安装drizzle模块
tar zxvf drizzle7-2011.07.21.tar.gz cd drizzle7-2011.07.21 ./configure --prefix=/usr/local/drizzle --without-server make libdrizzle-1.0 make install-libdrizzle-1.0 echo "/usr/local/drizzle/lib/" >> /etc/ld.so.conf ldconfig
3、安装openresty(参考我另一篇博客http://www.cnblogs.com/kgdxpr/p/3550633.html)
编译时增加--with-http_drizzle_module
./configure --prefix=/usr/local/openresty/ --with-http_drizzle_module --with-luajit
查看openresty安装的模块
/usr/local/openresty/nginx/sbin/nginx -V