瀏覽代碼

openresty 升级到最新版;pcre-jit 选项重新加上

zjcqoo 6 年之前
父節點
當前提交
9622345d03
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      setup-nginx.sh

+ 2 - 1
setup-nginx.sh

@@ -1,5 +1,5 @@
 # 无需 root 运行
-curl -O https://openresty.org/download/openresty-1.15.8.1rc1.tar.gz
+curl -O https://openresty.org/download/openresty-1.15.8.1rc2.tar.gz
 tar zxvf openresty-*
 cd openresty-*
 
@@ -8,6 +8,7 @@ export PATH=$PATH:/sbin
 ./configure \
   --with-http_v2_module \
   --with-http_ssl_module \
+  --with-pcre-jit \
   --prefix=/home/jsproxy/openresty
 
 make