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:
- 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
- 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
-
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.
-
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 K.
----- Original Message -----
From: “Chetan Patil” [email protected]
To: [email protected]
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:
- 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
- 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