summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-31 17:47:51 +0200
committerPaul Buetow <paul@buetow.org>2026-01-31 17:47:51 +0200
commitf1fe26da03d7402b1d33b5ccf47c85f0a066680d (patch)
tree29ff992284dc8752b97f3043bb55192baeb6b44b /frontends/etc
parentcbdb12f7d57588bacf18a52f2bd2307fc1d54979 (diff)
Fix relayd template loop closing syntax
Amp-Thread-ID: https://ampcode.com/threads/T-019c14ac-164f-776f-8648-471d4ac4ce5a Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/relayd.conf.tpl15
1 files changed, 6 insertions, 9 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 8c33dcf..9c0f571 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -68,18 +68,15 @@ http protocol "https" {
# 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 {
- -%>
+ <% } 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"