feat: saxo connector

This commit is contained in:
OpenSquared
2026-07-18 17:44:39 +02:00
parent 9f24897791
commit 6cfa36b710
4 changed files with 20 additions and 1 deletions

View File

@@ -1 +0,0 @@
d1ea611b126140dda0f3a4c541346d7a

View File

@@ -18,6 +18,13 @@ server {
proxy_read_timeout 120s;
}
location /oauth/ {
proxy_pass http://backend:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_read_timeout 120s;
}
location / {
proxy_pass http://frontend:80;
proxy_set_header Host $host;

View File

@@ -42,6 +42,16 @@ server {
proxy_buffering off;
}
# OAuth login/callback (Saxo, etc.) — FastAPI, pas le frontend SPA
location /oauth/ {
proxy_pass http://backend:8000;
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_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 120s;
}
# Swagger docs FastAPI
location /docs {
proxy_pass http://backend:8000;

View File

@@ -11,6 +11,9 @@ git pull
cd deploy
echo "[UPDATE] Sync config nginx (nginx-https.conf -> nginx.conf)..."
cp nginx/nginx-https.conf nginx/nginx.conf
echo "[UPDATE] Rebuild et redémarrage des containers..."
docker compose up -d --build