nginx error log:
2020/03/23 12:54:30 [error] 32547#0: *1272 client intended to send too large body: 1124770 bytes, client: 127.0.0.1, request: "POST /async-upload.php HTTP/1.1", host: "127.0.0.1:8000", referrer: "http://127.0.0.1:8000//customize.php?url=http%3A%2F%2F127.0.0.1%3A8000%2F"
The reason is the maximum upload file size set in the Nginx is too small, or not set due to, add the following line to the nginx.conf
http {
client_max_body_size 50m;#配置nginx上传文件最大限制
}