erreur
This commit is contained in:
@ -23,6 +23,8 @@ services:
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=http://ollama:11434
|
||||
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY:-supersecretkey}
|
||||
- WEBUI_URL=http://93.108.34.236
|
||||
- ENABLE_WEBSOCKETS=True
|
||||
volumes:
|
||||
- webui_data:/app/backend/data
|
||||
networks:
|
||||
|
||||
@ -9,11 +9,15 @@ server {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# --- AJOUT INDISPENSABLE POUR LES WEBSOCKETS ---
|
||||
proxy_http_version 1.1; ## Requis
|
||||
proxy_set_header Upgrade $http_upgrade; ## Requis
|
||||
proxy_set_header Connection "upgrade"; ## Requis
|
||||
# -----------------------------------------------
|
||||
|
||||
# DESACTIVATION TOTALE DU CACHE ET DU BUFFER
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
chunked_transfer_encoding on;
|
||||
|
||||
# Temps d'attente rallongé pour les gros modèles
|
||||
|
||||
Reference in New Issue
Block a user