# FastCGI and file upload limit

**URL:** <https://www.ruby-forum.com/t/fastcgi-and-file-upload-limit/200217>\
**Category:** NGINX\
**Created:** [December 7, 2010, 8:53am UTC](https://www.ruby-forum.com/t/fastcgi-and-file-upload-limit/200217 "2010-12-07T08:53:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [December 7, 2010, 8:53am UTC](https://www.ruby-forum.com/t/fastcgi-and-file-upload-limit/200217/1 "2010-12-07T08:53:56Z")

</div>

Hi guys,

I am using nginx and I have a FastCGI server(python, using flup library)  
program to accept file upload request from browser. One problem I  
encounter  
is when the file is large, like exceeds 1MB, my python fastcgi program  
will  
not receive any data, but when the file is smaller, it just works fine.  
I am  
not sure how nginx work with fastcgi module, does it have limitations on  
file size? Is it possible to tune it?

Thanks.  
Bin

---

<div class="post-metadata">

**Author:** ![Bin\_ChenSsunwen\_lin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/97f17d/32.png) [@Bin\_ChenSsunwen\_lin](https://www.ruby-forum.com/u/Bin_ChenSsunwen_lin)\
**Post date:** [December 7, 2010, 11:16am UTC](https://www.ruby-forum.com/t/fastcgi-and-file-upload-limit/200217/2 "2010-12-07T11:16:29Z")

</div>

On 12/07/10 10:53, Bin Chen(sunwen\_ling) wrote:

> I am using nginx and I have a FastCGI server(python, using flup library) program  
> to accept file upload request from browser. One problem I encounter is when the  
> file is large, like exceeds 1MB, my python fastcgi program will not receive any  
> data, but when the file is smaller, it just works fine. I am not sure how nginx  
> work with fastcgi module, does it have limitations on file size? Is it possible  
> to tune it?

> **[GitHub - nginxinc/nginx-wiki: ARCHIVED -- Source for the now archived NGINX Wiki...](https://github.com/nginxinc/nginx-wiki)**
>
> ARCHIVED -- Source for the now archived NGINX Wiki section of https://www.nginx.com

–  
Anton Y.
