jsproxy/setup-nginx.sh
2019-04-26 11:13:28 +08:00

16 lines
274 B
Bash
Executable File

#
curl -O https://openresty.org/download/openresty-1.15.8.1rc1.tar.gz
tar zxvf openresty-*
cd openresty-*
./configure \
--with-http_v2_module \
--with-http_ssl_module \
--with-pcre-jit \
--prefix=/home/jsproxy/openresty
make
make install
cd ..
rm -rf openresty-*