git post时error: RPC failed; result=22 HTTP code = 413 错误

nginx服务器:

在网站conf配置文件的server标签里加入

client_max_body_size 1024M;

保存。

nginx -s reload 重启nginx。

再次post时,问题解决了。