feat(nginx): /api/tarot/ → tarot-lab:8000 라우팅 추가
This commit is contained in:
@@ -344,6 +344,21 @@ server {
|
|||||||
proxy_pass http://$packs_backend$request_uri;
|
proxy_pass http://$packs_backend$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# tarot-lab API (agent-office에서 분리)
|
||||||
|
location /api/tarot/ {
|
||||||
|
resolver 127.0.0.11 valid=10s;
|
||||||
|
set $tarot_backend tarot-lab:8000;
|
||||||
|
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
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_connect_timeout 60s;
|
||||||
|
proxy_pass http://$tarot_backend$request_uri;
|
||||||
|
}
|
||||||
|
|
||||||
# agent-office API + WebSocket
|
# agent-office API + WebSocket
|
||||||
location /api/agent-office/ {
|
location /api/agent-office/ {
|
||||||
resolver 127.0.0.11 valid=10s;
|
resolver 127.0.0.11 valid=10s;
|
||||||
|
|||||||
Reference in New Issue
Block a user