RailsCasts Pro episodes are now free!

Learn more or hide this

thanhn08's Profile

GitHub User: thanhn08

Comments by


Oops, we are so sorry but we have solved it... it happened due to a wrong configuration on the server...


Great episode!

We have followed the tutorial and succeeded setting up multiple instances with haproxy as load balancer. We used "complete_passenger_nginx_postgres" template of Rubber.

However, uploading file (with size larger than 1MB) from browser to the server cannot reach the rails server of the app instances. It seems to be blocked from haproxy or some prior layers.

We checked nginx's client_max_body_size and it's already set to 10M.

Do you guys have any idea on this issue and how to fix it? Thank you in advance!