<div dir="ltr"><a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size">http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size</a><div class="gmail_extra"><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Mon, Feb 2, 2015 at 7:35 AM, nginxuser100 <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Kurt.<br>
<br>
The patch compiled and got installed fine. I no longer get an unknown<br>
directive error msg. However, the client's POST request of 1.5M of data<br>
still gives me this error "413 Request Entity Too Large"<br>
<br>
even though I added "fastcgi_request_buffering off;"<br>
<br>
    location / {<br>
        include fastcgi_params;<br>
        fastcgi_request_buffering off;<br>
        fastcgi_pass   <a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a>;<br>
    }<br>
<br>
Here was my test:<br>
curl -X POST -T testfile -v '<a href="http://localhost:80/" target="_blank">http://localhost:80/</a>'<br>
<br>
> POST /testfile HTTP/1.1<br>
> User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7<br>
NSS/<a href="http://3.16.2.3" target="_blank">3.16.2.3</a> Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2<br>
> Host: localhost<br>
> Accept: */*<br>
> Content-Length: 1474560<br>
> Expect: 100-continue<br>
><br>
< HTTP/1.1 413 Request Entity Too Large<br>
< Server: nginx/1.7.9<br>
< Date: Sun, 01 Feb 2015 20:04:25 GMT<br>
< Content-Type: text/html<br>
< Content-Length: 198<br>
< Connection: close<br>
<br>
Has anyone tried the fastcgi_request_buffering ... or am I missing<br>
something? Thanks.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,256378,256390#msg-256390" target="_blank">http://forum.nginx.org/read.php?2,256378,256390#msg-256390</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div></div>