diff --git a/nginx/default.conf b/nginx/default.conf index ba94583..93ea83b 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -2,11 +2,18 @@ server { listen 80; # Accès à l'interface principale (Corrigé sur le port 8080) + # Accès à l'interface principale location / { proxy_pass http://open-webui:8080; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + + # --- AJOUTS POUR FIXER MISTRAL ET LE JSON ERROR --- + proxy_buffering off; + proxy_cache off; + chunked_transfer_encoding on; + # -------------------------------------------------- } # Accès aux APIs (Optimisé pour Gradio/Audio)