Solve issue "client intended to send too large body" in NGINX

I have faced an issue in a web server using NGINX while trying to upload a file using wordpress. In the nginx error log I saw the error “Client intended to send too large body” in this entry: $ tail -f /var/log/nginx/*error*.log 2020/09/01 14:31:04 [error] 884#884: *126565 client intended to send too large body: 1195619 bytes, client: 55.173.250.46, server: test.com, request: "POST /wp-json/wp/v2/media?_locale=user HTTP/2.0", host: "test.com", referrer: "https://test.com/wp-admin/post.php?post=2460&action=edit" This limitation is defined in the NGINX web server, so I have to changed the configuration of the server:...

September 1, 2020 · 1 min · Yvoictra