mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
opt: structures
This commit is contained in:
parent
7045d14ca3
commit
8af7fb30b2
|
|
@ -223,7 +223,9 @@ check_virus_on_web_upload = true
|
|||
|
||||
## Database configuration
|
||||
|
||||
The whole database configuration is stored in the `[database]` section of the configuration file, whether you use SQLite or MySQL.
|
||||
The configurations of database are stored in the `[database]` section.
|
||||
|
||||
> From Seafile 11.0, the *SQLite* is not supported.
|
||||
|
||||
```
|
||||
[database]
|
||||
|
|
@ -240,12 +242,14 @@ max_connections=100
|
|||
When you configure seafile server to use MySQL, the default connection pool size is 100, which should be enough for most use cases.
|
||||
|
||||
Since Seafile 10.0.2, you can enable the encrypted connections to the MySQL server by adding the following configuration options:
|
||||
|
||||
```
|
||||
[database]
|
||||
use_ssl = true
|
||||
skip_verify = false
|
||||
ca_path = /etc/mysql/ca.pem
|
||||
```
|
||||
|
||||
When set `use_ssl` to true and `skip_verify` to false, it will check whether the MySQL server certificate is legal through the CA configured in `ca_path`. The `ca_path` is a trusted CA certificate path for signing MySQL server certificates. When `skip_verify` is true, there is no need to add the `ca_path` option. The MySQL server certificate won't be verified at this time.
|
||||
|
||||
## File Locking (Pro edition only)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ cd seafile-server-latest
|
|||
If a virus was detected, you can see scan records and delete infected files on the Virus Scan page in the admin area.
|
||||

|
||||
|
||||
**INFO**: If you directly use clamav command line tool to scan files, scanning files will takes a lot of time. If you want to speed it up, we recommend to run Clamav as a daemon. Please refer to [Run ClamAV as a Daemon](./deploy_clamav_with_seafile.md)
|
||||
**INFO**: If you directly use clamav command line tool to scan files, scanning files will takes a lot of time. If you want to speed it up, we recommend to run Clamav as a daemon. Please refer to [Run ClamAV as a Daemon](./virus_scan_with_clamav.md)
|
||||
|
||||
When run Clamav as a daemon, the `scan_command` should be `clamdscan` in `seafile.conf`. An example for Clamav-daemon is provided below:
|
||||
```
|
||||
|
|
|
|||
|
|
@ -52,4 +52,8 @@
|
|||
|
||||
.md-nav__item {
|
||||
padding-left: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.md-nav__item--section {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ theme:
|
|||
logo: media/seafile-transparent-1024.png
|
||||
favicon: media/favicon.ico
|
||||
features:
|
||||
- navigation.footer
|
||||
- navigation.tracking
|
||||
- navigation.sections
|
||||
- navigation.tabs
|
||||
- navigation.top
|
||||
|
|
@ -63,6 +65,11 @@ markdown_extensions:
|
|||
- markdown.extensions.toc:
|
||||
permalink: true
|
||||
toc_depth: "1-4"
|
||||
- pymdownx.superfences: # allows 1) nesting of fences 2) custom fences 3) disable indented code
|
||||
custom_fences:
|
||||
- name: mermaid
|
||||
class: mermaid
|
||||
format: !!python/name:pymdownx.superfences.fence_code_format
|
||||
|
||||
# Page tree
|
||||
nav:
|
||||
|
|
@ -128,7 +135,7 @@ nav:
|
|||
- Office Online Server Integration (Pro): extension/office_web_app.md
|
||||
- Virus Scan (Pro):
|
||||
- Outline: extension/virus_scan.md
|
||||
- Virus scan with ClamAV: extension/deploy_clamav_with_seafile.md
|
||||
- Virus scan with ClamAV: extension/virus_scan_with_clamav.md
|
||||
- Virus scan with Kav4fs: extension/virus_scan_with_kav4fs.md
|
||||
- Configuration:
|
||||
- Authentication & Users:
|
||||
|
|
|
|||
Loading…
Reference in New Issue