diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-31 14:16:16 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-31 14:16:16 +0200 |
| commit | 71427dedffe572a851594fdc13e1aad01597a7fe (patch) | |
| tree | 24c71569da01dbed237e156d3cebbd4a255234c4 | |
| parent | 05423c40e5a4e67acac8e7e708abde70b3a19eae (diff) | |
Fix relayd syntax: move persist to relay level, not protocol level
Amp-Thread-ID: https://ampcode.com/threads/T-019c1392-78a3-7440-9d95-1a1b2fd7dfec
Co-authored-by: Amp <amp@ampcode.com>
| -rw-r--r-- | frontends/etc/relayd.conf.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl index a8f834a..67732eb 100644 --- a/frontends/etc/relayd.conf.tpl +++ b/frontends/etc/relayd.conf.tpl @@ -46,7 +46,6 @@ http protocol "https" { http websockets # Connection pooling and keepalive for better performance - persist timeout connect 5s timeout http_request 10s timeout http_keepalive 60s @@ -89,6 +88,7 @@ http protocol "https" { relay "https4" { listen on <%= $vio0_ip %> port 443 tls protocol "https" + persist # 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,6 +101,7 @@ relay "https4" { relay "https6" { listen on <%= $ipv6address->($hostname) %> port 443 tls protocol "https" + persist # 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 |
