From 91320c05ff476a86454ae8bc333009f82d377901 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 17 Apr 2026 23:32:34 +0300 Subject: frontends/relayd: route anki.f3s.buetow.org directly to NodePort 30800 Bypass Traefik for anki-sync-server to fix HTTP 303 stream failures. The Anki client maps zstd response body read errors to SEE_OTHER (303). This was caused by Traefik's HTTP proxy layer interfering with the binary zstd-compressed response bodies. Route directly to the anki NodePort like Jellyfin's 30096, which avoids the double-proxy issue. --- frontends/etc/relayd.conf.tpl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'frontends/etc') diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl index f850dd2..b8d7a24 100644 --- a/frontends/etc/relayd.conf.tpl +++ b/frontends/etc/relayd.conf.tpl @@ -34,6 +34,13 @@ table { 192.168.2.122 } +# Anki sync server NodePort (bypasses Traefik to fix zstd stream failures) +table { + 192.168.2.120 + 192.168.2.121 + 192.168.2.122 +} + # Garage S3 API on f0/f1/f2 FreeBSD hosts (WireGuard) table { 192.168.2.130 @@ -96,6 +103,9 @@ http protocol "https" { <% } elsif ($host eq 'jellyfin.f3s.buetow.org') { -%> match request header "Host" value "<%= $prefix.$host -%>" forward to + <% } elsif ($host eq 'anki.f3s.buetow.org') { + -%> + match request header "Host" value "<%= $prefix.$host -%>" forward to <% } elsif ($host eq 'garage.f3s.buetow.org') { -%> match request header "Host" value "<%= $prefix.$host -%>" forward to @@ -133,6 +143,8 @@ relay "https4" { forward to port 30001 check tcp # Jellyfin uses NodePorts (bypasses Traefik) forward to port 30096 check tcp + # Anki sync server NodePort (bypasses Traefik to fix zstd stream failures) + forward to port 30800 check tcp # Garage S3 API on FreeBSD hosts forward to port 3900 check tcp } @@ -152,6 +164,8 @@ relay "https6" { forward to port 30001 check tcp # Jellyfin uses NodePorts (bypasses Traefik) forward to port 30096 check tcp + # Anki sync server NodePort (bypasses Traefik to fix zstd stream failures) + forward to port 30800 check tcp # Garage S3 API on FreeBSD hosts forward to port 3900 check tcp } -- cgit v1.2.3