mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
Update seahub_settings_py.md
This commit is contained in:
parent
90d31137a0
commit
f81b570d1c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue