mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Update seahub_settings_py.md
This commit is contained in:
parent
8bb754f38a
commit
0ddcdc0b8c
|
|
@ -19,6 +19,16 @@ Refer to ["add memcached"](../deploy/add_memcached.md).
|
|||
# Please refer https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts for details.
|
||||
ALLOWED_HOSTS = ['.myseafile.com']
|
||||
|
||||
|
||||
# Whether to use a secure cookie for the CSRF cookie
|
||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#csrf-cookie-secure
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
# The value of the SameSite flag on the CSRF cookie
|
||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#csrf-cookie-samesite
|
||||
CSRF_COOKIE_SAMESITE = 'Strict'
|
||||
|
||||
|
||||
```
|
||||
|
||||
## User management options
|
||||
|
|
|
|||
Loading…
Reference in New Issue