setup-nginx.sh 317 B

123456789101112131415161718
  1. # 无需 root 运行
  2. curl -O https://openresty.org/download/openresty-1.15.8.1rc2.tar.gz
  3. tar zxvf openresty-*
  4. cd openresty-*
  5. export PATH=$PATH:/sbin
  6. ./configure \
  7. --with-http_v2_module \
  8. --with-http_ssl_module \
  9. --with-pcre-jit \
  10. --prefix=/home/jsproxy/openresty
  11. make
  12. make install
  13. cd ..
  14. rm -rf openresty-*