From df95e30c58ed2b5c06d9fff5387bc3e536656274 Mon Sep 17 00:00:00 2001 From: Konano Date: Fri, 29 Aug 2025 19:22:52 +0800 Subject: [PATCH] fix: update nginx installation command to install the latest version --- configure_priv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure_priv.sh b/configure_priv.sh index bbaca29..6dc1406 100755 --- a/configure_priv.sh +++ b/configure_priv.sh @@ -316,8 +316,8 @@ configure_nginx() { fi if confirm_action "要安装 nginx 吗?" "Y"; then sudo apt-get update - # TODO E: Version '1.20.2-1~noble' for 'nginx' was not found - sudo apt-get install nginx=1.20.2-1~$(lsb_release -cs) -y + sudo apt-get install nginx -y + echo "nginx 版本: $(nginx -v 2>&1)" echo "别忘了把 /etc/nginx/sites-enabled 中的配置文件移动到 /etc/nginx/conf.d 中" fi }