summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 08:30:57 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 08:30:57 +0200
commitf9efca7e040bba873dcbfc152f3596e090378ab8 (patch)
tree8b1425d562ad019e877de7c0be7fdc300ee1d895 /frontends/etc
parent280eb685ad7f37aa4da6917ea9d79154e2968d32 (diff)
config(relayd): add Jellyfin NodePort routing
Amp-Thread-ID: https://ampcode.com/threads/T-019c12b1-e861-773b-8f74-64b6c2255a5f Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/relayd.conf.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 3a76edb..3f7e1bc 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -15,6 +15,13 @@ table <f3s_registry> {
192.168.2.122
}
+# Jellyfin NodePorts (bypasses Traefik to avoid double proxy issues)
+table <f3s_jellyfin> {
+ 192.168.2.120
+ 192.168.2.121
+ 192.168.2.122
+}
+
# Local OpenBSD httpd
table <localhost> {
127.0.0.1
@@ -62,6 +69,9 @@ http protocol "https" {
if ($host eq 'registry.f3s.buetow.org') { -%>
match request header "Host" value "<%= $prefix.$host -%>" forward to <f3s_registry>
<% }
+ elsif ($host eq 'jellyfin.f3s.buetow.org') { -%>
+ match request header "Host" value "<%= $prefix.$host -%>" forward to <f3s_jellyfin>
+ <% }
} } -%>
# Add cache-control headers to f3s fallback pages (served from localhost when cluster is down)
@@ -78,6 +88,8 @@ relay "https4" {
forward to <localhost> port 8080
# Registry uses separate port and table
forward to <f3s_registry> port 30001 check tcp
+ # Jellyfin uses NodePorts (bypasses Traefik)
+ forward to <f3s_jellyfin> port 30096 check tcp
}
relay "https6" {
@@ -88,6 +100,8 @@ relay "https6" {
forward to <localhost> port 8080
# Registry uses separate port and table
forward to <f3s_registry> port 30001 check tcp
+ # Jellyfin uses NodePorts (bypasses Traefik)
+ forward to <f3s_jellyfin> port 30096 check tcp
}
tcp protocol "gemini" {