Skip to content

Commit fac6a9b

Browse files
KloadutYunoHost
authored and
YunoHost
committed
Update build_openresty.md
1 parent 4c3171f commit fac6a9b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Diff for: build_openresty.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@ make # Another ~15 minutes
4343

4444
INSTALL=/tmp/openresty
4545
make install DESTDIR=$INSTALL
46-
4746
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
5147

5248
# fpm installation
5349
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 \
6763
--conflicts nginx-extras \
6864
--conflicts nginx-full \
6965
--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/

0 commit comments

Comments
 (0)