summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 20:37:33 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 20:37:33 +0200
commitac255b1fae12c68be0ac790386709df80ec078d8 (patch)
tree43b4168355c523ee0439bf4ab5a8db69b0d6d5c2 /frontends/etc
parentdc62ca6ab585f38d4d8e2ace98199d4887719821 (diff)
Fix relayd.conf syntax: replace invalid persist/timeout keywords with session timeout
Amp-Thread-ID: https://ampcode.com/threads/T-019c1549-6538-740f-b867-595c2dff8117 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/relayd.conf.tpl8
1 files changed, 2 insertions, 6 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 5c53df3..3f5edfc 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -86,9 +86,7 @@ http protocol "https" {
relay "https4" {
listen on <%= $ipv4address->($hostname) %> port 443 tls
protocol "https"
- persist
- timeout connect 10s
- timeout session 300s
+ session timeout 300
# 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
@@ -101,9 +99,7 @@ relay "https4" {
relay "https6" {
listen on <%= $ipv6address->($hostname) %> port 443 tls
protocol "https"
- persist
- timeout connect 10s
- timeout session 300s
+ session timeout 300
# 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