Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
使用Nginx服务器上传文件时,浏览器报413请求过大
设置Nginx参数
找到配置文件nginx.conf(如没有额外配置其他conf),在http{}或server{}或location{}节点下添加client_max_body_size
client_max_body_size 10m #(改成你想要的数值)
重新加载配置文件即可: nginx -s reload