setup-nginx.sh 272 B

123456789101112131415
  1. # 无需 root 运行
  2. curl -O https://openresty.org/download/openresty-1.15.8.1rc1.tar.gz
  3. tar zxvf openresty-*
  4. cd openresty-*
  5. ./configure \
  6. --with-http_v2_module \
  7. --with-http_ssl_module \
  8. --prefix=/home/jsproxy/openresty
  9. make
  10. make install
  11. cd ..
  12. rm -rf openresty-*