You need to change http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size if you use nginx.