-
nginx-tcp-lua-module.zip下载
资源介绍
# yum -y install -y pcre* openssl*
# for pcre, such as ngx.gmatch etc, --with-pcre=PATH/pcre-8.36 --with-pcre-jit
# if use openssl, then need --with-http_ssl_module
#
export LUAJIT_LIB=/usr/local/lib
export LUAJIT_INC=/usr/local/include/luajit-2.0
./configure --prefix=/usr/local/nginx_tcp \
--with-debug \
--with-pcre=/root/ngx_tcp_compile/softwares/pcre-8.36 \
--with-pcre-jit \
--without-http_gzip_module \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-tcp \
--with-tcp_ssl_module \
--with-openssl=/opt/openssl-1.0.1e \
--with-openssl-opt=-g \
--add-module=src/tcp/ngx_tcp_log_module \
--add-module=src/tcp/ngx_tcp_demo_module \
--add-module=src/tcp/ngx_tcp_lua_module