mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
parent
cfa1a2bccd
commit
f192008e3b
|
|
@ -107,6 +107,9 @@ ENABLE_CHANGE_PASSWORD = True
|
||||||
|
|
||||||
# If show contact email when search user.
|
# If show contact email when search user.
|
||||||
ENABLE_SHOW_CONTACT_EMAIL_WHEN_SEARCH_USER = True
|
ENABLE_SHOW_CONTACT_EMAIL_WHEN_SEARCH_USER = True
|
||||||
|
|
||||||
|
# SECRET_KEY is used by the Django framework to generate sessions and CSRF tokens. If it is changed, all users need to re-login again.
|
||||||
|
SECRET_KEY = <your SECRET_KEY>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Single Sign On
|
## Single Sign On
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ By default, Seafile dose not enable multiple storage classes. So, you have to cr
|
||||||
1. Create the storage classes file:
|
1. Create the storage classes file:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
nano /opt/seafile-date/seafile/conf
|
nano /opt/seafile-data/seafile/conf
|
||||||
```
|
```
|
||||||
|
|
||||||
For the example of this file, please refer [next section](#exmaple-of-storage-classes-file)
|
For the example of this file, please refer [next section](#exmaple-of-storage-classes-file)
|
||||||
|
|
@ -51,7 +51,7 @@ By default, Seafile dose not enable multiple storage classes. So, you have to cr
|
||||||
|
|
||||||
!!! tip
|
!!! tip
|
||||||
- Make sure you have added [memory cache configurations](../config/env.md#cache-configurations) to `seafile.conf`
|
- Make sure you have added [memory cache configurations](../config/env.md#cache-configurations) to `seafile.conf`
|
||||||
- Due to the *Docker persistence strategy*, the path of `storage_classes_file` **in the *Seafile container*** is different from the host usually, so we suggest you put this file in to the Seafile's configurations directory, and use `/shared/conf` instead of `/opt/seafile-date/seafile/conf`. Otherwise you have to add another persistent volume mapping strategy in `seafile-server.yml`. If your Seafile server is not deployed with Docker, we still suggest you put this file into the Seafile configurations file directory.
|
- Due to the *Docker persistence strategy*, the path of `storage_classes_file` **in the *Seafile container*** is different from the host usually, so we suggest you put this file in to the Seafile's configurations directory, and use `/shared/conf` instead of `/opt/seafile-data/seafile/conf`. Otherwise you have to add another persistent volume mapping strategy in `seafile-server.yml`. If your Seafile server is not deployed with Docker, we still suggest you put this file into the Seafile configurations file directory.
|
||||||
|
|
||||||
## Exmaple of storage classes file
|
## Exmaple of storage classes file
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue