Nginx Tornado File Upload

Francis Daly francis at
Thu Jul 14 22:04:50 MSD 2011

On Thu, Jul 14, 2011 at 05:30:01AM -0400, akash.gangil wrote:

Hi there,

> I am trying to upload file via nginx_upload_module 2.2.0. I have nginx
> 1.0.4 setup as a reverse proxy with a tornado server at the backend.

I'm not using tornado, but I'm not seeing any obvious problems when I
mimic the nginx side of your configuration.

>         upload_set_form_field $upload_field_name.path
> “$upload_tmp_path”;

That ends in ".path".

>     Tornado Log : WARNING:root:400 POST /upload ( Missing
> argument upfile_path WARNING:root:400 POST /upload ( 2.31ms

That ends in "_path".

That's the only odd-looking thing I can see. Might that be a cause of
the problem?

Good luck,

Francis Daly        francis at

More information about the nginx mailing list