added "client_max_body_size 3M;" to nginx conf