error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large

Solution for nginx

Just load your nginx.conf and add client_max_body_size 50m; ( changing the value to your needs ) in the http, server orlocation block.

Reload nginx to accept the new config by executing sudo service nginx reload and try again to push your commit over http.

Leave a Reply