I got the 413 Request Entity Too Large
error after running this command:
git push -u test1 current-repo --force
What is a reason of this error? How to avoid this error?
The solution is to increase the client request size body by the client_max_body_size parameter in nginx. conf file. Following is the description of the client_max_body_size parameter. The default value is 1MB and you can set this to an HTTP, server or location contexts.
Guess you have a reverse proxy like Nginx configured. That by default is limited to a 10m upload size. Check out http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size for how to configure your proxy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With