413 Request Entity Too Large
Summary
git push origin master
with big file
$ git push
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 32.46 MiB | 1.09 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large
Everything up-to-date
$ ls -l
-rwxr-xr-x 1 weaming 1049089 33M Jan 18 10:19 Some.file.exe*
Steps to reproduce
Follow the official guide: https://docs.gitlab.com/omnibus/docker/#install-gitlab-using-docker-compose
I mapped the port of host 10080 to the port of container.( '127.0.0.1:10080:80')
Serve the sites with nginx on my host server, and added client_max_body_size 1000m;
.
Question
Using ssh://git@example.com:23/user/reponame.git
is ok, but failed with http
protocol.