今天提交git的时候,报下面的错:
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
修改了一下nginx的配置文件nginx.conf,在http里加上
client_max_body_size 100m;
使用docker exec -it [container] nginx -s reload
没起作用,使用docker restart [container]
就可以了。
来源:oschina
链接:https://my.oschina.net/jenqz/blog/4318865