fix(recovery): close cold-start runtime blockers
This commit is contained in:
@@ -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/)
|
||||
# =========================================================================
|
||||
|
||||
Reference in New Issue
Block a user