summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 14:28:44 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 14:28:44 +0200
commit0f65c09b0758ebb7ee11b1ab450dadca61894ac0 (patch)
treef6e4b45c35edc9ef99a9bc31439d5a6b82f2ba1c /frontends/etc
parenta449d3f28afe657b246dd1e3a4799a3cb9e70921 (diff)
Increase relayd timeouts for better video streaming buffering
Amp-Thread-ID: https://ampcode.com/threads/T-019c1392-78a3-7440-9d95-1a1b2fd7dfec Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/relayd.conf.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index e8a60ad..3ed0be1 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -84,6 +84,9 @@ relay "https4" {
listen on <%= $vio0_ip %> port 443 tls
protocol "https"
persist
+ timeout connect 10s
+ timeout http_request 30s
+ timeout http_keepalive 120s
# Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
forward to <localhost> port 8080
@@ -97,6 +100,9 @@ relay "https6" {
listen on <%= $ipv6address->($hostname) %> port 443 tls
protocol "https"
persist
+ timeout connect 10s
+ timeout http_request 30s
+ timeout http_keepalive 120s
# Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
forward to <localhost> port 8080