-
|
Has anyone gotten anubis to work with https://github.com/redlib-org/redlib and caddy? No matter what I try I can't get video and gif playback to work |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @amddeus, This sounds exactly like Issue #1247, where Anubis falsely triggers a browser verification challenge on media requests (specifically GIFs/videos), causing playback to fail. The root cause often appears to be the The Workaround: Add reverse_proxy anubis_or_redlib:8080 {
header_up -Range
}
Note: This might disable "seeking" (jumping forward) in longer videos, but it generally fixes the playback error for Reddit-style short clips and GIFs. Alternatively, if you can configure Anubis rules, you might need to whitelist the media paths so they don't trigger the verification challenge. |
Beta Was this translation helpful? Give feedback.
Hi @amddeus,
This sounds exactly like Issue #1247, where Anubis falsely triggers a browser verification challenge on media requests (specifically GIFs/videos), causing playback to fail.
The root cause often appears to be the
Rangeheader sent by the browser/player. For some reason, this triggers the WAF rules in Anubis for certain content types.The Workaround:
If you are running Caddy in front of Anubis (or Redlib), you can try stripping the
Rangeheader from the request before it reaches the backend. This forces the server to send the full file (200 OK) instead of partial content (206), which usually bypasses the issue for short clips.Add
header_up -Rangeto your Caddyfile's reverse_pr…