seafile解决大文件上传
nginx
location /seafhttp {
… …
proxy_request_buffering off;
}
seafile.conf
[fileserver]
max_upload_size=819200
max_download_dir_size=819200
在线预览大小
/opt/seafile/conf/seafevents.conf
有多少页允许在线预览。默认是20页
max-pages = 50
文件允许的最大大小在线预览,在MB。默认值是2 MB
预览一个大文件(例如> 30M)网络浏览器可能会卡一会。
max-size = 10