My reverse proxy has a strict upload limit of 50MB per request.
Currently, uploading any file larger than this limit fails because the application tries to send the whole file in a single HTTP request.
Proposed Solution
Please implement client-side chunking for uploads.
It would be great to have an environment variable (e.g., in the frontend config) to define the maximum chunk size. This would allow users to set a chunk size (e.g., 10MB) that fits within their proxy's constraints, bypassing the global per-request limit.
I observed that:
Frontend: files-upload.service.ts currently performs a single POST/PUT request with the full file content.
Backend: The server streams the incoming request directly to disk.
Implementing a mechanism (like File.slice() on the client + an append/assembly logic on the server) would make the application much more robust for self-hosted environments.