summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 17:49:10 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 17:49:10 +0200
commit7af2a5fa15c49663a2f236641aedfc8aa0be5659 (patch)
tree93007283cfd2b4cc77fd034060ba719d285bb222 /frontends
parentf1fe26da03d7402b1d33b5ccf47c85f0a066680d (diff)
Revert relayd routing changes - cert generation fix (acme.sh) is sufficient
Amp-Thread-ID: https://ampcode.com/threads/T-019c14ac-164f-776f-8648-471d4ac4ce5a Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'frontends')
-rw-r--r--frontends/etc/relayd.conf.tpl15
1 files changed, 7 insertions, 8 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 9c0f571..5c53df3 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -65,18 +65,17 @@ http protocol "https" {
# For f3s hosts: use relay-level failover (f3s -> localhost backup)
# Registry is special: needs explicit routing to port 30001
- # Jellyfin uses NodePorts (bypasses Traefik)
<% for my $host (@$f3s_hosts) {
for my $prefix (@prefixes) {
- if ($host eq 'registry.f3s.buetow.org') { -%>
+ 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') { -%>
+ <% } elsif ($host eq 'jellyfin.f3s.buetow.org') {
+ -%>
match request header "Host" value "<%= $prefix.$host -%>" forward to <f3s_jellyfin>
- <% } else { -%>
- match request header "Host" value "<%= $prefix.$host -%>" forward to <f3s>
- <% } -%>
- <% } -%>
- <% } -%>
+ <% }
+ }
+ } -%>
# Add cache-control headers to f3s fallback pages (served from localhost when cluster is down)
match response header set "Cache-Control" value "no-cache, no-store, must-revalidate"