fix(nginx): 等待脚本增加 nc/TCP 探测、默认 120s、compose 设 180s 避免 Podman 下 yh_nginx 超时退出
Made-with: Cursor
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user