From 92f0da8fbc99137d4093130843b29095c2f71d4b Mon Sep 17 00:00:00 2001 From: Floke Date: Mon, 29 Dec 2025 14:31:04 +0000 Subject: [PATCH] fix: Increase Nginx timeouts to 600s to support long-running AI tasks --- general-market-intelligence/nginx.conf | 5 +++++ nginx-proxy.conf | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/general-market-intelligence/nginx.conf b/general-market-intelligence/nginx.conf index 232ce047..8f29378e 100644 --- a/general-market-intelligence/nginx.conf +++ b/general-market-intelligence/nginx.conf @@ -18,5 +18,10 @@ server { proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; + + # Increase timeouts for AI generation + proxy_read_timeout 600s; + proxy_connect_timeout 600s; + proxy_send_timeout 600s; } } diff --git a/nginx-proxy.conf b/nginx-proxy.conf index ac7776ef..e86b7912 100644 --- a/nginx-proxy.conf +++ b/nginx-proxy.conf @@ -9,6 +9,12 @@ http { access_log /dev/stdout; error_log /dev/stderr; + # Increase Timeouts for Long-Running AI Tasks + proxy_read_timeout 600s; + proxy_connect_timeout 600s; + proxy_send_timeout 600s; + send_timeout 600s; + # Resolver ist wichtig für Docker resolver 127.0.0.11 valid=30s ipv6=off;