feat: saxo connector
This commit is contained in:
@@ -1 +0,0 @@
|
||||
d1ea611b126140dda0f3a4c541346d7a
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user