From 6838c88631a8e6684a5902ebe4252bce0586a116 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 5 Oct 2025 14:36:06 +0200 Subject: [PATCH] Update set_new_nginx_app.sh --- set_new_nginx_app.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/set_new_nginx_app.sh b/set_new_nginx_app.sh index c52cc2d..50b8cca 100644 --- a/set_new_nginx_app.sh +++ b/set_new_nginx_app.sh @@ -139,6 +139,17 @@ server { proxy_set_header Connection 'upgrade'; proxy_set_header Host \$host; proxy_cache_bypass \$http_upgrade; + proxy_redirect off; + proxy_set_header X-Real-IP \$remote_addr; + proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; + proxy_set_header X-Real-IP \$remote_addr; + + # Pour les requĂȘtes de streaming + proxy_buffering off; + proxy_cache off; + proxy_request_buffering off; + proxy_read_timeout 3600s; + proxy_send_timeout 3600s; } } EOF -- 2.51.2