<html>
<head>
<title>413 Request Entity Too Large</title>
</head>
<body bgcolor="white">
<center>
<h1>413 Request Entity Too Large</h1>
</center>
<hr>
<center>nginx/1.13.12</center>
</body>
</html>
在网上百度了,是由于nginx有文件大小限制,默认是20M。
测试同事测试的时候上传的文件超过了20M就报了这个错。
要么修改nginx配置默认的文件大小,要么上传小一点的文件