fix(deploy): ???????? Nginx ???????

Made-with: Cursor
This commit is contained in:
whm
2026-03-27 12:04:22 +08:00
parent 0980d1fa9c
commit 89cc1d2368
4 changed files with 44 additions and 34 deletions

View File

@@ -254,11 +254,11 @@ fi
# shellcheck disable=SC1091
. "$ROOT/scripts/lib-yh-compose-deploy.sh"
yh_compose_down
echo "宿主机 Nginx 站点与服务..."
yh_install_host_nginx_site_conf
ensure_host_nginx_started
yh_compose_up
bash "$ROOT/scripts/run-promotion-import-on-deploy.sh" "$ROOT"
echo "宿主机 Nginx 站点(若 Nginx 已运行则更新并重载)..."
yh_install_host_nginx_site_conf
echo "完成. 对外仅 443反代: https://$NGINX_DOMAIN"