From 71360b61dad35c054282ee59d4d882f553464a36 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 20 Mar 2023 12:04:54 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index 5fa7a8df5..12ef07679 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -61,7 +61,7 @@ Install_openresty() # wget -O openresty-1.21.4.1.tar.gz https://openresty.org/download/openresty-1.21.4.1.tar.gz if [ ! -f ${openrestyDir}/openresty-${VERSION}.tar.gz ];then - wget -O ${openrestyDir}/openresty-${VERSION}.tar.gz https://openresty.org/download/openresty-${VERSION}.tar.gz -T 3 + wget --no-check-certificate -O ${openrestyDir}/openresty-${VERSION}.tar.gz https://openresty.org/download/openresty-${VERSION}.tar.gz -T 3 fi DOWNLOAD_SIZE=`wc -c ${openrestyDir}/openresty-${VERSION}.tar.gz | awk '{print $1}'` @@ -72,7 +72,7 @@ Install_openresty() # Last Download Method if [ ! -f ${openrestyDir}/openresty-${VERSION}.tar.gz ];then - wget -O ${openrestyDir}/openresty-${VERSION}.tar.gz https://dl.midoks.me/soft/openresty/openresty-${VERSION}.tar.gz -T 3 + wget --no-check-certificate -O ${openrestyDir}/openresty-${VERSION}.tar.gz https://dl.midoks.me/soft/openresty/openresty-${VERSION}.tar.gz -T 3 fi cd ${openrestyDir} && tar -zxvf openresty-${VERSION}.tar.gz