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.