Skip to content

Commit 702cd3e

Browse files
committed
add nginx_luajit_ws+udp
1 parent 74b5437 commit 702cd3e

File tree

15 files changed

+1722
-0
lines changed

15 files changed

+1722
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ SampleProject/ProjectSettings/*
3838

3939
SampleProject/SampleProject.sln
4040
SampleProject/Temp/*
41+
nginx-luajit-ws/logs/error.log
42+
nginx-luajit-ws/logs/host.access.log
43+
nginx-luajit-ws/logs/nginx.pid

nginx-luajit-ws/Doc/graph.png

53.8 KB
Loading
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
PROJECT_PATH=$(pwd)
2+
3+
NGINX_VERSION=1.11.9
4+
NGX_DEVEL_KIT="dependencies/ngx_devel_kit-0.3.0"
5+
LUA_NGX_MOD="dependencies/lua-nginx-module-0.10.7"
6+
7+
export LUAJIT_LIB=/usr/local/lib
8+
export LUAJIT_INC=/usr/local/include/luajit-2.1
9+
10+
# make & install nginx to PROJECT_PATH/NGINX_VERSION
11+
./configure \
12+
--with-ld-opt="-Wl,-rpath,$LUAJIT_LIB" \
13+
--prefix=$PROJECT_PATH/$NGINX_VERSION \
14+
--add-module=$NGX_DEVEL_KIT \
15+
--add-module=$LUA_NGX_MOD
16+
17+
make -j2
18+
make install

0 commit comments

Comments
 (0)