upload-module v2.0.7

Valery Kholodkov valery+nginxen at grid.net.ru
Mon Dec 1 12:39:59 MSK 2008


1) It is not an issue. If you do not specify path in URI as an argument to proxy_pass directive, the path won't be altered.

2) Can you be more verbose please? What configuration do you have, what form do you use and what do you get in the output? 

-- 
Regards,
Valery Kholodkov

----- Original Message -----
From: "Chetan Patil" <cpatil at gmail.com>
To: nginx at sysoev.ru
Sent: Sunday, November 30, 2008 12:27:04 AM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: upload-module v2.0.7

Hi,

I am trying to set up nginx (0.6.32) with upload_module (2.0.7).

A couple of issues that tripped me up:

1)  upload_pass doesn't seem to be honored.
  location /ngupload {
    upload_pass /rails_upload;
   ...
  }
  location /rails_upload {
   proxy_pass http://mongreldev;
 }

In this case the upload module passes on the request to
http://<upstream_mongrel>/ngupload rather than
http://upstream_mongrel>/rails_upload

2)  File input fields with names such as upload_img[] causes the
upload module to break. The request gets mangled and something like
upload_img=[] gets posted to the upstream mongrel instance.


Are these known issues?

thanks
Chetan






More information about the nginx mailing list