I am running a Linux Django application with a cannon and Nginx. I allow users to upload a CSV file (about 2 MB), which the application processes and adds to the database. The problem is that for large files, something seems to time out after about 2 or 3 minutes, and a page called 404 Not Found nginx / 0.7.6 is displayed. URL does not change i.e. It remains as the URL of the file download page of my application.
The Nginx error log shows:
2011/09/08 13:28:05 [error] 1349 # 0: * 303 upstream timed out (110: connection timeout) while reading the response header up, client: 213.146.112.122, server: _, request: "POST / app / import_csv / HTTP / 1.1 ", upstream:
Any ideas what is going on? How to increase this timeout?
dougv source
share