Stack: FastAPI + React/TypeScript + SQLite + GPT-4o Features: Radar géopolitique, Marchés, Régime Macro, Journal de Bord MTM, Rapport IA, Super Contexte (base de raisonnement évolutive), Boucle feedback IA. Deploy: Docker + docker-compose + nginx pour openfin.open-squared.tech Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
685 B
Plaintext
26 lines
685 B
Plaintext
# Config temporaire HTTP-only — utilisée uniquement lors du premier setup
|
|
# pour permettre à Certbot d'obtenir le certificat SSL.
|
|
# Remplacée automatiquement par setup-vps.sh après obtention du cert.
|
|
|
|
server {
|
|
listen 80;
|
|
server_name openfin.open-squared.tech;
|
|
|
|
# Challenge ACME pour Let's Encrypt
|
|
location /.well-known/acme-challenge/ {
|
|
root /var/www/certbot;
|
|
}
|
|
|
|
location /api/ {
|
|
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;
|
|
}
|
|
}
|