fix(nginx): 等待脚本增加 nc/TCP 探测、默认 120s、compose 设 180s 避免 Podman 下 yh_nginx 超时退出

Made-with: Cursor
This commit is contained in:
whm
2026-03-22 00:42:00 +08:00
parent 2660f8edd8
commit 5830fdfba3
2 changed files with 62 additions and 7 deletions

View File

@@ -64,6 +64,9 @@ services:
- api
- web
- admin
# Podman/慢盘API 首次就绪可能超过 90s避免 yh_nginx 等待超时后 Exited(1) → 全站 443 拒绝连接
environment:
- NGINX_WAIT_UPSTREAM_SEC=180
networks:
- yh_net