This commit is contained in:
2026-02-24 20:05:36 +01:00
parent 9ac9415599
commit e4c437d5c0
2 changed files with 8 additions and 2 deletions

View File

@ -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