feat(co-gahusb): nginx public /api/co/ 라우팅 (Authorization forward, no-buffer)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -400,6 +400,20 @@ server {
|
|||||||
proxy_pass http://$saju_backend$request_uri;
|
proxy_pass http://$saju_backend$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# co-gahusb — FastMCP streamable-http bus
|
||||||
|
# Authorization forward required (Bearer key auth), no buffering, long read timeout
|
||||||
|
# trailing slash on proxy_pass strips /api/co/ prefix: /api/co/mcp → /mcp
|
||||||
|
location /api/co/ {
|
||||||
|
proxy_pass http://co-gahusb:8000/;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header Authorization $http_authorization;
|
||||||
|
proxy_set_header Connection "";
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_read_timeout 3600s;
|
||||||
|
}
|
||||||
|
|
||||||
# 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