File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,7 @@ make # Another ~15 minutes
43
43
44
44
INSTALL=/tmp/openresty
45
45
make install DESTDIR=$INSTALL
46
-
47
46
mkdir -p $INSTALL /var/lib/nginx
48
- echo " lua_package_path '/usr/share/lua/5.1/?.lua;;';" > openresty.conf
49
- echo " lua_package_cpath '/usr/lib/arm-linux-gnueabihf/lua/5.1/?.so;;';" >> openresty.conf
50
- install -m 0555 -D openresty.conf $INSTALL /etc/nginx/conf.d/openresty.conf
51
47
52
48
# fpm installation
53
49
apt-get -y install make ruby1.9.1 ruby1.9.1-dev \
@@ -67,6 +63,7 @@ fpm -s dir -t deb -n openresty -v 1.4.3.3 --iteration 1 -C $INSTALL \
67
63
--conflicts nginx-extras \
68
64
--conflicts nginx-full \
69
65
--conflicts nginx-light \
70
- --config-files /etc/nginx/conf.d/openresty.conf \
71
- etc run usr var
72
- ```
66
+ run usr var
67
+ ```
68
+
69
+ Inspired from http://brian.akins.org/blog/2013/03/19/building-openresty-on-ubuntu/
You can’t perform that action at this time.
0 commit comments