diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-31 08:41:22 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-31 08:41:22 +0200 |
| commit | 9bfa2894bb55b0c85de3939ad071cc1a72100dc1 (patch) | |
| tree | dd3a6097c0dddd44f60e69e931ab9a4a594a7b27 /frontends/etc | |
| parent | 576124a443db374d90ba4cdb67d759c7fee5c40f (diff) | |
fix(relayd): add X-Forwarded-Host header for Jellyfin reverse proxy
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.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl index 9fcb169..143c0d5 100644 --- a/frontends/etc/relayd.conf.tpl +++ b/frontends/etc/relayd.conf.tpl @@ -47,6 +47,7 @@ http protocol "https" { match request header set "X-Forwarded-For" value "$REMOTE_ADDR" match request header set "X-Forwarded-Proto" value "https" + match request header set "X-Forwarded-Host" value "$HTTP_HOST" # WebSocket headers - passed through for WebSocket connections pass header "Connection" @@ -105,6 +106,7 @@ relay "https6" { } # Jellyfin alternative ports for Android app discovery +# Use the same "https" protocol to get X-Forwarded headers relay "jellyfin-8096-ipv4" { listen on <%= $vio0_ip %> port 8096 tls protocol "https" |
