From 403cb5b85d3b88571574876c91473fed30a703b3 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Sat, 28 Feb 2026 09:07:03 +0100 Subject: [PATCH] fix: increase RAG service proxy timeout to 600s - Increase proxy_read_timeout from 300s to 600s for large PDF uploads - Add proxy_send_timeout 600s (was defaulting to 60s) - Fixes 504 Gateway Timeout when uploading 7.5MB+ IFRS PDFs Co-Authored-By: Claude Opus 4.6 --- nginx/conf.d/default.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index 8a84f76..70f9711 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -564,7 +564,8 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; - proxy_read_timeout 300s; + proxy_read_timeout 600s; + proxy_send_timeout 600s; } }