Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 文件上传被限制大小,配置的参数无法生效 #930

Closed
wenjing-xin opened this issue Jun 14, 2024 · 3 comments
Closed

[Bug] 文件上传被限制大小,配置的参数无法生效 #930

wenjing-xin opened this issue Jun 14, 2024 · 3 comments

Comments

@wenjing-xin
Copy link

问题描述

文件上传失败,配置不生效
image

版本号

6.0.3

复现方法

已经在/data/safeline/resources/nginx/custom_params下相应的配置文件配置了如下参数,

client_max_body_size 200m;
client_body_buffer_size 100m;

之后使用命令 docker exec safeline-tengine nginx -t、 docker exec safeline-tengine nginx -s reload也是正常的,为了保证生效,我又重启了docker里的所有容器,但还是不生效,站点控制台说是防火墙 我很不理解

期望的结果

文件正常上传,按照我限制的最大容量使用

@Lorna0
Copy link
Collaborator

Lorna0 commented Aug 9, 2024

无法复现,尝试修改了一下是可以生效的。可以查一下上游是否有其他代理设备有大小限制。

@Lorna0
Copy link
Collaborator

Lorna0 commented Aug 9, 2024

@xbingW
Copy link
Collaborator

xbingW commented Sep 19, 2024

问题反馈请移步 https://rivers.chaitin.cn/discussion

@xbingW xbingW closed this as completed Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants