Update seahub_settings_py.md

This commit is contained in:
lian 2020-12-17 17:02:39 +08:00 committed by GitHub
parent 90d31137a0
commit f81b570d1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,27 +255,6 @@ ENABLE_SHIBBOLETH_LOGIN = True
```
## OCM
From 8.0.0, Seafile supports [OCM protocol](https://rawgit.com/GEANT/OCM-API/v1/docs.html). With OCM, user can share library to other server which enabled OCM too.
```python
# Enable OCM
ENABLE_OCM = True
OCM_PROVIDER_ID = '71687320-6219-47af-82f3-32012707a5ae' # server unique id
OCM_REMOTE_SERVERS = [
{
"server_name": "dev",
"server_url": "https://seafile-domain-1/", # should ends with '/'
},
{
"server_name": "download",
"server_url": "https://seafile-domain-2/", # should ends with '/'
},
]
```
## Other options
```python