【发布时间】:2018-08-01 16:33:30
【问题描述】:
当我尝试推送我的文件时,我遇到了 GIT 问题,会发生这种情况:
$ git push -u origin dev
Counting objects: 586, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (506/506), done.
Writing objects: 100% (586/586), 36.81 MiB | 1.58 MiB/s, done.
Total 586 (delta 267), reused 40 (delta 29)
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
我已经完成了:
git config http.postBuffer 524288000,
所以这并不能解决我的问题!
我发现解决方案是修改 nginx 配置但没有使用 nginx .. 我在 Windows 10 上工作,我没有看到 我应该在哪里增加 client_max_body_size 的值!
您对 windows 上的这个问题有任何想法吗?
【问题讨论】:
-
谢谢,但我没有使用 IIS 7!
-
查看这个答案以获得解决方案。 stackoverflow.com/a/60833201/1226748