Nginx默认的request body为1M,小于我们上传的大小

解决方案:
找到自己主机的nginx.conf配置文件,打开
在http{}中加入 client_max_body_size 10m;
然后重启nginx
/etc/init.d/nginx restart