在作文件上傳的時候,nginx默認限制的請求體大小爲1m。html
修改nginx對請求體的限制就能夠了。nginx
location /api/ { ... client_max_body_size 100g; ... }