No Content-Length on NextCloud Server

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 9 (30.0.2)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04.5 LTS
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • Cloudflare

Summary of the issue you are facing:

Same issue has here: No indication of download progress or ETA when donwloading big files from nextcloud AIO

However this installation of nextcloud does not seem to have /_data/.htaccess so I can not implement the solution.