feat(mcp): câblage FastAPI + nginx proxy + docker-compose MCP_API_KEY

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 06:49:50 +02:00
co-authored by Claude Sonnet 4.6
parent 5d7dbec67c
commit 8ebdccb543
4 changed files with 41 additions and 1 deletions
+11
View File
@@ -25,6 +25,17 @@ server {
proxy_read_timeout 86400s;
}
location /mcp {
proxy_pass http://backend:8000/mcp;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 86400s;
}
location /api/ {
proxy_pass http://backend:8000/api/;
proxy_set_header Host $host;