Filestash reverse proxy with caddy
EDIT: found the culprit. It was cloudflare’s Brotli compression. Everything’s working fine now after disabling it. For those who are wondering, it’s under Speed>optimization>content-optimization in the CF dashboard....