Update health check endpoint in verify_stack_health function in start.sh and update.sh

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-28 10:55:29 +02:00
parent 23b7a4cd2f
commit a60eb6eebf
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -511,8 +511,8 @@ verify_stack_health() {
if printf '%s\n' "$running_services" | grep -Fxq app && \
printf '%s\n' "$running_services" | grep -Fxq nginx && \
printf '%s\n' "$running_services" | grep -Fxq mongodb; then
# Primary check: HTTP endpoint responds (most reliable)
if curl -kfsS "https://127.0.0.1:$https_port" >/dev/null 2>&1; then
# Primary check: health endpoint responds (most reliable)
if curl -kfsSL "https://127.0.0.1:$https_port/health" >/dev/null 2>&1; then
return 0
fi
fi