试试这个方法:
在docker安装一个 nginxwebui,通过这个工具配置http参数,client_max_body_size,参考图片。 其它方法 应该是直接修改或配置nginx文件也可以。

docker-compose,注意volumes配置为你自己的路径
version: "3.2"
services:
nginxwebui:
image: registry.cn-hangzhou.aliyuncs.com/cym19871102/nginxwebui:4.2.3
container_name: nginxwebui
volumes:
- /填写你自己的路径:/home/nginxWebUI
environment:
BOOT_OPTIONS: "--server.port=8080"
network_mode: "host"
restart: always
|