可以通过增加如下两行到nginx.conf的http{}段, 增大nginx上传文件大小限制
#设置允许发布内容为8M client_max_body_size 8M; client_body_buffer_size 128k;