fix(recovery): close cold-start runtime blockers

This commit is contained in:
ogt
2026-07-11 15:08:27 +08:00
parent 7cea825d92
commit 276410fbb6
38 changed files with 1494 additions and 145 deletions

View File

@@ -93,6 +93,20 @@ server {
# 避免主機或 K3s rollout 期間把 Nginx raw 5xx 直接給使用者。
proxy_intercept_errors on;
# =========================================================================
# Next.js API routes
# =========================================================================
# Keep this before /api/ so browser telemetry reaches the web route handler.
location /api/sentry-tunnel {
proxy_pass http://awoooi_web;
proxy_intercept_errors on;
error_page 502 503 504 =503 /__awoooi-maintenance.html;
proxy_read_timeout 30s;
proxy_send_timeout 30s;
proxy_set_header Connection "keep-alive";
}
# =========================================================================
# API 路由 (/api/)
# =========================================================================