Answer the question
In order to leave comments, you need to log in
How to upload large files through nginx?
There are vds with 512MB of memory and 10GB on disk (7GB free).
Upload file to server via nginx and gunicorn, parameters:
client_body_in_file_only clean;
client_body_temp_path /home/www/sites/media/tmp/;
client_max_body_size 500000m;
"cache is the kernel memory in RAM used to store the contents of files read from disk."
Answer the question
In order to leave comments, you need to log in
Nginx has an upload module specifically designed to not burden your backend with file uploads.
If you have nginx with apache, then you should probably look at the directives for the maximum upload in the apache config
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question