This commit is contained in:
sriram
2026-08-11 20:08:35 +05:30
parent 137ea7d6ea
commit d2ac832960

View File

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