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)