I am awfully sorry for spamming this list. I just found out nextcloud starts sending the file several times, sometimes containing "Content-Length" and sometimes not. The one time it actually serves the full download, this is the header:
------------------------------------------------------------------------ HTTP/1.1 200 OK^M Content-Disposition: attachment; filename*=UTF-8''debian-12.6.0-amd64-netinst.iso; filename="debian-12.6.0-amd64-netinst.iso"^M Content-Security-Policy: default-src 'none';^M Content-Type: application/octet-stream^M Date: Thu, 08 Aug 2024 22:31:08 GMT^M Etag: "<censored>"^M Last-Modified: Sat, 20 Jul 2024 11:07:08 GMT^M Oc-Etag: "<censored>"^M Referrer-Policy: no-referrer^M Strict-Transport-Security: max-age=31536000;^M X-Accel-Buffering: no^M X-Content-Type-Options: nosniff^M X-Debug-Token: OsiAGB1U6or2N1uy10GN^M X-Frame-Options: SAMEORIGIN^M X-Permitted-Cross-Domain-Policies: none^M X-Request-Id: <censored>^M X-Robots-Tag: noindex, nofollow^M X-Xss-Protection: 1; mode=block^M Connection: close^M Transfer-Encoding: chunked^M ------------------------------------------------------------------------- So I am back to the problem being in nextcloud aio /and not nginx/. As far as I can see nginx serves Content-Length correctly /if it gets it served itself/ *sigh* Sorry again! Tobias Am 11.08.24 um 18:14 schrieb Tobias Damisch via nginx:
Hi everyone, first-time poster here.
_______________________________________________ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx