summaryrefslogtreecommitdiff
path: root/frontends/etc/relayd.conf.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/etc/relayd.conf.tpl')
-rw-r--r--frontends/etc/relayd.conf.tpl12
1 files changed, 8 insertions, 4 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 29f5875..f850dd2 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -124,9 +124,11 @@ relay "https4" {
session timeout 300
# Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
- # Static landing page is routed through a local relay so it can fall back to localhost
- forward to <f3s_static_proxy> port 18080 check tcp
forward to <localhost> port 8080 check http "/" code 200
+ # Static landing page is routed through a local relay so it can fall back to localhost.
+ # Listed after localhost so it does NOT become a general fallback for k3s failures;
+ # only reached via explicit "match ... forward to <f3s_static_proxy>" rules.
+ forward to <f3s_static_proxy> port 18080 check tcp
# Registry uses separate port and table
forward to <f3s_registry> port 30001 check tcp
# Jellyfin uses NodePorts (bypasses Traefik)
@@ -141,9 +143,11 @@ relay "https6" {
session timeout 300
# Primary: f3s cluster (with health checks) - Falls back to localhost when all hosts down
forward to <f3s> port 80 check tcp
- # Static landing page is routed through a local relay so it can fall back to localhost
- forward to <f3s_static_proxy> port 18080 check tcp
forward to <localhost> port 8080 check http "/" code 200
+ # Static landing page is routed through a local relay so it can fall back to localhost.
+ # Listed after localhost so it does NOT become a general fallback for k3s failures;
+ # only reached via explicit "match ... forward to <f3s_static_proxy>" rules.
+ forward to <f3s_static_proxy> port 18080 check tcp
# Registry uses separate port and table
forward to <f3s_registry> port 30001 check tcp
# Jellyfin uses NodePorts (bypasses Traefik)