This commit is contained in:
2026-02-24 19:22:53 +01:00
parent da5fadcae3
commit a1b72e2d7e

View File

@ -2,11 +2,18 @@ server {
listen 80; listen 80;
# Accès à l'interface principale (Corrigé sur le port 8080) # Accès à l'interface principale (Corrigé sur le port 8080)
# Accès à l'interface principale
location / { location / {
proxy_pass http://open-webui:8080; proxy_pass http://open-webui:8080;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 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) # Accès aux APIs (Optimisé pour Gradio/Audio)