FileCodeBox icon indicating copy to clipboard operation
FileCodeBox copied to clipboard

100mb的文件上传失败显示文件过大

Open Andersonong-github opened this issue 1 year ago • 7 comments

Describe the bug 你好,首先谢谢你们的软件,我开始试着用,已经调整了我的传送文件大小为5G,但是就100多mb的文件也发不出去,然后出现错误的文字写着文件过大?可以帮帮忙看看是否有什么错误吗?

image

Andersonong-github avatar Aug 15 '24 15:08 Andersonong-github

https://github.com/vastsa/FileCodeBox/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98#413-request-entity-too-large 这个尝试了吗,或者修改之后,重新启动docker

vastsa avatar Aug 15 '24 15:08 vastsa

谢谢答复,我找不到我的nginx.conf配置文件。我是经由1Panel的应用商店一键部署的。。就找到一些的这些 image image

Andersonong-github avatar Aug 16 '24 03:08 Andersonong-github

你的计算方式有问题 image

vastsa avatar Aug 16 '24 11:08 vastsa

你好,我修改了,然后重启了container..

image image 还是一样的问题呢。。。我的测试文件就157.3MB.. Uploading image.png…

Andersonong-github avatar Aug 16 '24 12:08 Andersonong-github

有可能是因为开了CF的CDN的原因,有100MB上传限制

yuju520 avatar Sep 05 '24 03:09 yuju520

修改上传文件大小限制后必须重启容器

carolcoral avatar Sep 13 '24 02:09 carolcoral

image 在左边菜单找到网站,选择设置性能调整,就能看到client_max_body_size

Worthing667 avatar Sep 17 '24 02:09 Worthing667

1p服务只需要在网站-文件夹,找到../proxy/root.conf 文件打开,粘贴下面的代码进去,然后重启openresty即可

client_max_body_size 10g;
image

carolcoral avatar Oct 14 '24 03:10 carolcoral

有可能是因为开了CF的CDN的原因,有100MB上传限制

原来如此

Chenime233 avatar Oct 30 '24 07:10 Chenime233

In case you are using Nginx Proxy Manager: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/93#issuecomment-485040136

felixnie avatar Nov 29 '24 07:11 felixnie