开启文件上传 sendfile on; nginx文件上传大小限制client_max_body_size 20m; nginx设置时间限制 keepalive_timeout 120; pm2 watch 自动重启关闭 或 忽略上传文件夹