When configuring nginx, what considerations affect client_body_buffer_size
?
I've set it to 10m
for a website where users upload photos and image-memes (kind of like 9gag). Note that client_max_body_size
is set to 10m
as well. Overall, my reasoning is that the webserver should accept POST requests with images as big as 10MB (website policy) - and thus both these directives ought to be 10m
.
Is this reasoning correct?
Can someone shed light on the factors affecting what values to set for client_body_buffer_size
, and typical values of client_body_buffer_size
(for the sort of web application I described)?
In case it matters, I utilize nginx as a reverse proxy.