fix(nginx): /api/tarot/ proxy_read/send_timeout 300s→600s

3-card Claude 해석 응답이 truncation reroll 발생 시 90초+ 걸려 DSM Reverse
Proxy 또는 docker nginx에서 504 가능성. 600s 안전 마진 (saju/music과 동일
수준).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-27 13:19:24 +09:00
parent 4ee4a1ae7d
commit 512ed59dcd

View File

@@ -370,6 +370,7 @@ server {
} }
# tarot-lab API (agent-office에서 분리) # tarot-lab API (agent-office에서 분리)
# Claude Sonnet 3-card 해석은 30~90초 + truncation reroll 시 추가. 600s 안전 마진.
location /api/tarot/ { location /api/tarot/ {
resolver 127.0.0.11 valid=10s; resolver 127.0.0.11 valid=10s;
set $tarot_backend tarot-lab:8000; set $tarot_backend tarot-lab:8000;
@@ -378,8 +379,8 @@ server {
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 300s; proxy_read_timeout 600s;
proxy_send_timeout 300s; proxy_send_timeout 600s;
proxy_connect_timeout 60s; proxy_connect_timeout 60s;
proxy_pass http://$tarot_backend$request_uri; proxy_pass http://$tarot_backend$request_uri;
} }