要修改 nginx 文件上传大小限制,需要在 nginx 配置文件中进行设置。 在 nginx.conf 文件中找到 http {...} 块,在里面添加以下行: client_max_body_size 文件大小;