lua-nginx-module和echo-nginx-module都各自详细的安装步骤。
例如:
pushd nginx-1.6.2
./configure \
--prefix=/usr/local/nginx \
--sbin-path=/usr/sbin \
--with-http_ssl_module \
--with-http_sub_module \
--with-http_flv_module \
--with-http_stub_status_module \
--with-zlib=../zlib-1.2.5 \
--with-openssl=../openssl-1.0.1j \
--with-pcre=../pcre-8.36 \
--add-module=/usr/local/echo-nginx-module \
--add-module=/usr/local/lua-nginx-module
make;
make install;
popd
nginx 模块安装是需要编译到nginx主程序中的