From 6353231f4ae7f551ba242cc4448c984c49d2eb24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sat, 5 Aug 2023 14:18:49 +0800 Subject: [PATCH] feat: update openresty 1.21.4.2 --- app/plugins/openresty/openresty.go | 2 +- scripts/openresty/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/plugins/openresty/openresty.go b/app/plugins/openresty/openresty.go index c84a4d96..7d3fa077 100644 --- a/app/plugins/openresty/openresty.go +++ b/app/plugins/openresty/openresty.go @@ -4,7 +4,7 @@ var ( Name = "OpenResty" Description = "OpenResty® 是一款基于 NGINX 和 LuaJIT 的 Web 平台。" Slug = "openresty" - Version = "1.21.4.1" + Version = "1.21.4.2" Requires = []string{} Excludes = []string{} Install = "bash /www/panel/scripts/openresty/install.sh" diff --git a/scripts/openresty/install.sh b/scripts/openresty/install.sh index 59baee74..34c2850c 100644 --- a/scripts/openresty/install.sh +++ b/scripts/openresty/install.sh @@ -23,7 +23,7 @@ OS=$(source /etc/os-release && { [[ "$ID" == "debian" ]] && echo "debian"; } || downloadUrl="https://dl.cdn.haozi.net/panel/openresty" setupPath="/www" openrestyPath="${setupPath}/server/openresty" -openrestyVersion="1.21.4.1" +openrestyVersion="1.21.4.2" cpuCore=$(cat /proc/cpuinfo | grep "processor" | wc -l) ipLocation=$(curl -s https://ip.ping0.cc/geo)