@@ -23,9 +23,9 @@ usage()
23
23
buildNgx ()
24
24
{
25
25
cd $NGINX
26
- export LUAJIT_INC=/usr/local/luajit-2.0.1/ include/luajit-2.0 /
27
- export LUAJIT_LIB=/usr/local/luajit-2.0.1/ lib/
28
- ./configure --prefix=/nginx \
26
+ export LUAJIT_INC=/usr/local/include/luajit-2.1 /
27
+ export LUAJIT_LIB=/usr/local/lib
28
+ ./auto/ configure --prefix=/nginx \
29
29
--with-http_ssl_module \
30
30
--without-http_fastcgi_module \
31
31
--without-http_uwsgi_module \
@@ -40,11 +40,15 @@ buildNgx()
40
40
--without-mail_imap_module \
41
41
--without-mail_smtp_module \
42
42
--with-pcre \
43
+ --with-pcre \
44
+ --with-stream \
45
+ --with-stream_ssl_module \
43
46
--add-module=../ngx_devl_kit \
44
47
--add-module=../lua-nginx-module \
45
48
--add-module=../ngx_http_dyups_module \
46
49
--add-module=../lua-upstream-cache-nginx-module \
47
50
--add-module=../headers-more-nginx-module \
51
+ --add-module=../stream-lua-nginx-module \
48
52
--add-module=../ngx_http_process_coredump \
49
53
--with-debug \
50
54
--with-cc-opt=" -O0"
@@ -59,7 +63,7 @@ buildReleaseNgx()
59
63
cd $NGINX
60
64
export LUAJIT_INC=/usr/local/include/luajit-2.1/
61
65
export LUAJIT_LIB=/usr/local/lib
62
- ./configure --prefix=/nginx \
66
+ ./auto/ configure --prefix=/nginx \
63
67
--with-http_ssl_module \
64
68
--without-http_fastcgi_module \
65
69
--without-http_uwsgi_module \
@@ -74,6 +78,8 @@ buildReleaseNgx()
74
78
--without-mail_imap_module \
75
79
--without-mail_smtp_module \
76
80
--with-pcre \
81
+ --with-stream \
82
+ --with-stream_ssl_module \
77
83
--add-module=../ngx_devl_kit \
78
84
--add-module=../lua-nginx-module \
79
85
--add-module=../ngx_http_dyups_module \
0 commit comments