From c070bef0c1005366104176c1fc5af8b8f63cf01f Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 3 Nov 2026 00:26:42 +0100 Subject: add stream heartbeat --- docs/example.toml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/example.toml') diff --git a/docs/example.toml b/docs/example.toml index cef5754..00bfed3 100644 --- a/docs/example.toml +++ b/docs/example.toml @@ -68,6 +68,11 @@ htpasswd = "/etc/continuum/htpasswd" # authentication. The proxy must set or clear it on every request. # user-header = "X-Remote-User" +# How often GET /stream sends a blank line while nothing changes, so proxies in front +# keep it open: below their read timeout (nginx's proxy_read_timeout, 60 s by default). +# 0: never. +# stream-heartbeat = "30s" + # Where the reverse proxies whose user-header is believed connect from: IP addresses (or # ranges, as ADDRESS/BITS), and unix for the API's Unix sockets (bind-addr). On a host # with other users, leave out the addresses and have the proxy use a Unix socket: others -- cgit v1.3.1