From 512ed59dcddd38983fd9306b8bed1095306837a4 Mon Sep 17 00:00:00 2001 From: gahusb Date: Wed, 27 May 2026 13:19:24 +0900 Subject: [PATCH] =?UTF-8?q?fix(nginx):=20/api/tarot/=20proxy=5Fread/send?= =?UTF-8?q?=5Ftimeout=20300s=E2=86=92600s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 3-card Claude 해석 응답이 truncation reroll 발생 시 90초+ 걸려 DSM Reverse Proxy 또는 docker nginx에서 504 가능성. 600s 안전 마진 (saju/music과 동일 수준). Co-Authored-By: Claude Opus 4.7 (1M context) --- nginx/default.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nginx/default.conf b/nginx/default.conf index 9be82cf..a0e217a 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -370,6 +370,7 @@ server { } # tarot-lab API (agent-office에서 분리) + # Claude Sonnet 3-card 해석은 30~90초 + truncation reroll 시 추가. 600s 안전 마진. location /api/tarot/ { resolver 127.0.0.11 valid=10s; set $tarot_backend tarot-lab:8000; @@ -378,8 +379,8 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_read_timeout 300s; - proxy_send_timeout 300s; + proxy_read_timeout 600s; + proxy_send_timeout 600s; proxy_connect_timeout 60s; proxy_pass http://$tarot_backend$request_uri; }