Changes

Jump to: navigation, search

This Is Your Brain On Informatics: NGINX and Large Files

25 bytes added, 01:56, 18 January 2014
no edit summary
<p>
* ''client_max_body_size'''
<br />
If you've done the setup as in the blog, this parameter should be located in
This parameter controls the size of a file that is allowed to be passed through [[This Is Your Brain On Informatics: NGINX|NGINX]]. If a file that is passed to the server is too large, an error of 413 (or something similar will result). The way to fix that is to change the size of the file that is allowed to be passed to a larger number. The letter ''k'' is for kilobytes and ''m'' is for megabytes (you should not be passing gigabytes to your poor overworked server).
</p>
===Server Timing Parameters===
* ''keepalive_timeout''
* ''send_timeout''
<br />
These parameters should be in the same file as the size parameters.
===FastCGI Parameters===
<p>
* ''fastcgi_read_timeout''<br />
This parameter will only work with something that is using FastCGI (like PHP, or another language). It is what allows CGI to keep processing the uploaded file. Again, if the uploaded file is timing out. This parameter needs to be increased.
</p>
347
edits

Navigation menu