diff options
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/etc/relayd.conf.tpl | 15 |
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" |
