## how many pages are allowed to be previewed online. Default is 50 pages
max-pages = 50
## the max size of documents allowed to be previewed online, in MB. Default is 2 MB
## Previewing a large file (for example >30M) online is likely going to freeze the browser.
max-size = 2
这个很早之前我就是这么做了,正因为我测试没效果才反馈的,英文、中文文档早就删除了这2行参数了,说明可能移除了
Seafile Pro v9.0.7 复现
[DATABASE]
type = mysql
host = 127.0.0.1
port = 3306
username = seafile
password = password
name = seafile
[OFFICE CONVERTER]
enabled = true
workers = 2
outputdir = /tmp/
host = 127.0.0.1
port = 8089
max-pages = 100
max-size = 100
[AUDIT]
enabled = true
[INDEX FILES]
enabled = true
interval = 5m
external_es_server = true
es_host = 127.0.0.1
es_port = 9200
highlight = fvh
#lang = chinese
## If true, indexes the contents of office/pdf files while updating search index
## Note: If you change this option from "false" to "true", then you need to clear the search index and update the index again. See the FAQ for details.
index_office_pdf = true
office_file_size_limit = 200
[SEAHUB EMAIL]
enabled = true
## interval of sending Seahub email. Can be s(seconds), m(minutes), h(hours), d(days)
interval = 30m
# Enable statistics
[STATISTICS]
enabled=true