views:

21

answers:

2

My client called today because they couldn't upload their images to their shopping site, and I have absolutely no idea where the upload file size limits are configured.

So here's my server configuration: Ubuntu 10.04LTS, Spree on Rails 2.3, Nginx.

Basically I want to remove the file-size upload limit.

Anyone know where I should go to get started?

+2  A: 

Have you checked your Nginx config?

More specifically the client_max_body_size directive?

To make sure your Spree install is not rejecting the file, fire up script/server locally and try uploading a big file to it.

Carlos Lima
A: 

Spree uses Paperclip (http://github.com/thoughtbot/paperclip) for it's image processing and management. You might also check there for a size limit.

adhlssu07