Error in Windows 10, Nginx 1.10, PHP 7.4: 413 Request Entity Too Large
1. Report an error in Windows 10, Nginx 1.10, and PHP 7.4: 413 Request Entity Too Large. The size of the uploaded file: 286MB. as shown in Figure 1
413 Request Entity Too Large
nginx/1.10.1
2. Check phpinfo, the size of the uploaded file is limited to 1024M. as shown in Figure 2
upload_max_filesize=1024M
post_max_size=1024M
3. Add to nginx’s server: client_max_body_size 1024M;
client_max_body_size 1024M;
4. Restart nginx and php, no response to 413, the problem is solved. as shown in Figure 3


