aboutsummaryrefslogtreecommitdiffstats
path: root/docs/example.toml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-03 00:26:42 +0100
committertv <tv@krebsco.de>2026-11-03 00:26:42 +0100
commitc070bef0c1005366104176c1fc5af8b8f63cf01f (patch)
treeeab3e6da7d2b0b4f2648a452a23b5f592091301a /docs/example.toml
parent5e62e09d6fe2a03c7fdcda63c879d8fdd1dfb7b1 (diff)
add stream heartbeat
Diffstat (limited to 'docs/example.toml')
-rw-r--r--docs/example.toml5
1 files changed, 5 insertions, 0 deletions
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