Tried googling for this and didn't find an answer...
Is it possible to force nginx to read the request body into memory (not temp file) via code?
I tried request_body_in_single_buf, but it seems it only prevents the request body from being split between memory + file
(probably need to update http://nginx.org/en/docs/dev/development_guide.html#http_request_body...)
I guess I can accomplish this by setting client_max_body_size and client_body_buffer_size to the same value in nginx.conf,
but don't know if there's a way to do it in code.