diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-08 18:52:30 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-08 18:52:30 +0300 |
| commit | 2ce01914f4214dc7a06583ebafd63298274a4f73 (patch) | |
| tree | a9be6eef41d22ac0870fb0a2ba5cc147ec1624c1 | |
| parent | f654fc0b8a7d86eab559129e206fe3d0543d3802 (diff) | |
Return HTTP errors for dead f3s static backends
| -rw-r--r-- | frontends/etc/relayd.conf.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl index 3009622..6248dee 100644 --- a/frontends/etc/relayd.conf.tpl +++ b/frontends/etc/relayd.conf.tpl @@ -57,6 +57,7 @@ http protocol "https" { # Enable WebSocket support http websockets + return error match request header set "X-Forwarded-For" value "$REMOTE_ADDR" match request header set "X-Forwarded-Proto" value "https" @@ -110,7 +111,7 @@ relay "https4" { forward to <f3s> port 80 check tcp # Static landing page served from pi0/pi1 instead of k3s forward to <f3s_static> port 80 check tcp - forward to <localhost> port 8080 + forward to <localhost> port 8080 check http "/" code 200 # Registry uses separate port and table forward to <f3s_registry> port 30001 check tcp # Jellyfin uses NodePorts (bypasses Traefik) @@ -127,7 +128,7 @@ relay "https6" { forward to <f3s> port 80 check tcp # Static landing page served from pi0/pi1 instead of k3s forward to <f3s_static> port 80 check tcp - forward to <localhost> port 8080 + forward to <localhost> port 8080 check http "/" code 200 # Registry uses separate port and table forward to <f3s_registry> port 30001 check tcp # Jellyfin uses NodePorts (bypasses Traefik) |
