I get the following error in my log files every time I try to upload a large file.
a client request body is buffered to a temporary file /var/lib/nginx/body/0000000001
Although the file uploads successfully, I always get the above error.
I increased the client_body_buffer_size
to 1000m
which is what I expect the largest file uploaded to be. However, this is was just a guess and although I don't get that error anymore I am wondering if this is an appropriate value to set for the client_body_buffer_size
?
I would appreciate it if anyone can shed some light on this directive and how it should be used.