一、报错内容 Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) 二、原因说明 经过查询,是因为应用服务器使用了Nginx做代理,而在Nginx这一层限制了上传文件的大小,因此需要修改Nginx配置 三、问题解决 在location 下面增加client_max_body_size 100M;配置项,重启Nginx文件上传成功.