When you have e.g. troubles with GIT to push large commits using http or https and git gives this error:
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 fatal: the remote end hung up unexpectedly
If you server e.g. shows in the logs something like this:
10999#0: *1234 client intended to send too large chunked body: 134217891 bytes
Then you need to increase your LimitRequestBody. For that just open the vhost config of your domain (assuming you are using plesk).
vi /etc/nginx/plesk.conf.d/ip_default/yourdomain.com.conf
Look for e.g.
client_max_body_size 128m;
and replace it by:
client_max_body_size 8096m;
Save and quit vi (:wq) and restart nginx.
service nginx restart
Keep in mind that you are modifying a generated file which will be regenerated by plesk when changing something in the Apache & nginx Settings. In theory you should be able to put the new value in
Additional nginx directives but due to a bug in Plesk you cannot (April 2019).