From 137aa8fb3139c875765f4cdab2b2a39c6701bfce Mon Sep 17 00:00:00 2001 From: Adam Christopher Smith Date: Wed, 12 Nov 2025 14:28:59 -0800 Subject: [PATCH] Include location in nginx config for logs specific directives --- docs/docs/02-Deploying/02-self-hosting.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/docs/02-Deploying/02-self-hosting.md b/docs/docs/02-Deploying/02-self-hosting.md index 752a26bdc4d..5f120e64efe 100644 --- a/docs/docs/02-Deploying/02-self-hosting.md +++ b/docs/docs/02-Deploying/02-self-hosting.md @@ -116,6 +116,14 @@ server { proxy_set_header Host $host; } + # Log streaming benefits from longer read timeout and disabled buffering + location ~ ^/v1/database/[^/]+/logs$ { + proxy_pass http://localhost:3000; + proxy_http_version 1.1; + proxy_buffering off; + proxy_read_timeout 3600s; + } + # Uncomment this section to allow all HTTP reducer calls # location ~ ^/v1/[^/]+/call/[^/]+$ { # proxy_pass http://localhost:3000;