WordPress upload problem with Nginx

It’s a poem.

Today I had a problem with uploading a relatively small file.
The log reported: client intended to send too large body of 4831067 bytes.


The solution was to edit nginx.conf and increase the client_max_body_size.
service nginx reload – nice.