From d2ac8329600628e7031ba69337f24274be4ec917 Mon Sep 17 00:00:00 2001 From: sriram Date: Tue, 11 Aug 2026 20:08:35 +0530 Subject: [PATCH] fix port --- nginx.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ebb7298..0b43a0c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -12,7 +12,7 @@ http { server { listen 80; - listen 3000 + listen 3000; server_name localhost; # Backend API, proxied to the FastAPI container on the same Docker @@ -29,6 +29,12 @@ http { 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 $scheme; + + # RAG/LLM endpoints (catalog generation, enrichment) routinely run + # well past nginx's 60s default, which would surface as a 504. + proxy_connect_timeout 30s; + proxy_send_timeout 300s; + proxy_read_timeout 300s; } location / {