配置nginx上传文件大小,否则上传时会有 413 (Request Entity Too Large) 异常 打开nginx主配置文件nginx.conf,找到http{},添加
client_max_body_size 1024m;
重启nginx