I trying to build a rails application to upload large video file which will be hosted at s3.amazonaws.com server it works fine with smaller file but gives 413 Request entity too large error for large file (around 30MB). I change my nginx configuration file and increased client_max_body_size to 4G. Still it does not work.
Can anybody help me ?