Jelajahi Sumber

更新 OpenResty v1.15.8.2

zjcqoo 6 tahun lalu
induk
melakukan
6f33ae3ad3
2 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 3 3
      docs/setup.md
  2. 2 2
      i.sh

+ 3 - 3
docs/setup.md

@@ -23,7 +23,7 @@ su - jsproxy
 ```bash
 cd $(mktemp -d)
 
-curl -O https://www.openssl.org/source/openssl-1.1.1b.tar.gz
+curl -O https://www.openssl.org/source/openssl-1.1.1d.tar.gz
 tar zxf openssl-*
 
 curl -O https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz
@@ -32,14 +32,14 @@ tar zxf pcre-*
 curl -O https://zlib.net/zlib-1.2.11.tar.gz
 tar zxf zlib-*
 
-curl -O https://openresty.org/download/openresty-1.15.8.1.tar.gz
+curl -O https://openresty.org/download/openresty-1.15.8.2.tar.gz
 tar zxf openresty-*
 cd openresty-*
 
 export PATH=$PATH:/sbin
 
 ./configure \
-  --with-openssl=../openssl-1.1.1b \
+  --with-openssl=../openssl-1.1.1d \
   --with-pcre=../pcre-8.43 \
   --with-zlib=../zlib-1.2.11 \
   --with-http_v2_module \

+ 2 - 2
i.sh

@@ -3,7 +3,7 @@
 { # this ensures the entire script is downloaded #
 
 JSPROXY_VER=0.1.0
-OPENRESTY_VER=1.15.8.1
+OPENRESTY_VER=1.15.8.2
 
 SRC_URL=https://raw.githubusercontent.com/EtherDream/jsproxy/$JSPROXY_VER
 BIN_URL=https://raw.githubusercontent.com/EtherDream/jsproxy-bin/master
@@ -95,7 +95,7 @@ gen_cert() {
   fi
 
   for domain in ${domains[@]}; do
-    echo "校验域名 $domain ..."
+    log "校验域名 $domain ..."
 
     local ret=$(getent ahosts $domain | head -n1 | awk '{print $1}')
     if [[ $ret != $ip ]]; then