I’ve got a form that submits to :controller => ‘files’, :action =>
‘upload’. I want to have this action running on a different port to port
80. How can I do this in Rails?
For some background information, I’m using nginx proxying to a mongrel
cluster and I need to pass this request onto a mongrel server to get
upload progress information. At least, I think I do
Any help would be much appreciated.
Regards
Adam
Adam G. wrote:
I’ve got a form that submits to :controller => ‘files’, :action =>
‘upload’. I want to have this action running on a different port to port
80. How can I do this in Rails?
For some background information, I’m using nginx proxying to a mongrel
cluster and I need to pass this request onto a mongrel server to get
upload progress information. At least, I think I do
Any help would be much appreciated.
Regards
Adam
Try:
:port => 1234, :controller => ‘files’, :action => ‘upload’
I am pretty sure it really is that simple.