This commit is contained in:
@@ -279,6 +279,15 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
NGINX_TEST_LOG=\$(mktemp)
|
||||
if ! sudo nginx -t >"\$NGINX_TEST_LOG" 2>&1; then
|
||||
echo "❌ Nginx configuration is invalid" >&2
|
||||
tail -50 "\$NGINX_TEST_LOG" >&2 || true
|
||||
rm -f "\$NGINX_TEST_LOG"
|
||||
exit 1
|
||||
fi
|
||||
rm -f "\$NGINX_TEST_LOG"
|
||||
|
||||
echo "✓ Nginx 설정 검증 통과 (실제 로드 파일 확인 + 포트 5001 고정 + trailing slash 없음)"
|
||||
|
||||
echo "--- [5/5] 헬스 체크 (최대 60초) ---"
|
||||
|
||||
Reference in New Issue
Block a user