1. In Windows 10, Nginx 1.10, and PHP 7.4, the error “413 Request Entity Too Large” occurs. Uploaded file size: 286MB. See Figure 1.

Plaintext
413 Request Entity Too Large
nginx/1.10.1
2. Checking phpinfo, the upload file size limit is 1024M. See Figure 2.

INI
upload_max_filesize=1024M
post_max_size=1024M
3. Add client_max_body_size 1024M; to the server block in Nginx.
Nginx
client_max_body_size 1024M;
4. Restart Nginx and PHP. The 413 error no longer appears, and the issue is resolved. See Figure 3.

