On Mon, Jan 28, 2013 at 10:58 AM, Francis Daly <span dir="ltr"><<a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
<br>
</div>If you want to ensure that the client request body is not buffered to<br>
disk, you want to make sure that your client_body_buffer_size is larger<br>
than your client_max_body_size. And be willing to refuse any client<br>
request body bigger than that.<br>
<br>
> client_max_body_size  0;<br>
<br>
<a href="http://nginx.org/r/client_max_body_size" target="_blank">http://nginx.org/r/client_max_body_size</a><br>
<br>
Sets the maximum allowed size of the client request body. Setting size<br>
to 0 disables client request body size checking.<br>
<br>
> proxy_max_temp_file_size 0;<br>
<br>
<a href="http://nginx.org/r/proxy_max_temp_file_size" target="_blank">http://nginx.org/r/proxy_max_temp_file_size</a><br>
<br>
For responses from the proxied server.<br>
<br>
<br>
Look at <a href="http://nginx.org/en/docs/http/ngx_http_core_module.html" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html</a><br>
<br>
You probably want directives which start "client_body_".</blockquote><div><br></div><div>Thanks for the rapid reply, Francis.  So it seems that even if we disable client request body size checking altogether (setting to 0), we still have to set all the other client_body_ checks?  The primary aim is to just let Nginx pass through any traffic regardless of size because we are mostly using Nginx as a proxy / pass-through / load-balancing mechanism doing a hand-off to Apache until we can finally get our app off Apache and fully convert to Nginx.</div>
</div>