Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/docs/02-Deploying/02-self-hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down