上传100M的视频没有任何反应
Describe the bug
30M以内的视频一下就传完了,100M的视频没有任何反应,我开了个监控软件,发现一点速度都没有,也就是完全没有触发上传的动作。是否是自动对超过某个大小的文件进行了屏蔽,nginx或者哪里需要设置,可以放开这个限制?
Steps to reproduce
如上
Screenshots or additional context
No response
Issue is not in English. It has been translated automatically.
Title: uploaded 100M video without any response
Describe the bug
The video within 30M was uploaded immediately, and the 100M video did not respond. I opened a monitoring software and found that there was no speed at all, that is, there was no action to trigger the upload at all. Is it automatically shielding files that exceed a certain size, nginx or where it needs to be set, can this limit be released?
Steps to reproduce
as above
Screenshots or additional context
No response
Describe the bug
30M以内的视频一下就传完了,100M的视频没有任何反应,我开了个监控软件,发现一点速度都没有,也就是完全没有触发上传的动作。是否是自动对超过某个大小的文件进行了屏蔽,nginx或者哪里需要设置,可以放开这个限制?
Steps to reproduce
如上
Screenshots or additional context
No response
如果使用了 nginx 需要开放下上传文件的大小,在 location 字段,增加如下配置,然后重启 nginx 试下;
client_max_body_size 1024M; 这是设置上传最大为 1GB 的配置,你根据需要自己配置。
Issue is not in English. It has been translated automatically.
Describe the bug
The video within 30M was uploaded immediately, and the 100M video did not respond. I opened a monitoring software and found that there was no speed at all, that is, no uploading action was triggered at all. Is it automatically shielding files that exceed a certain size, nginx or where it needs to be set, can this limit be released?
Steps to reproduce
as above
Screenshots or additional context
No response
If you use nginx and need to open the size of the uploaded file, add the following configuration in the location field, then restart nginx and try again;
client_max_body_size 1024M; This is the configuration to set the maximum upload size to 1GB, and you can configure it yourself according to your needs.
The max file size is limited to 32MB.
https://github.com/usememos/memos/blob/2ff0e71272423060d7e03b656b93774872ee5cb4/server/resource.go#L22-L25