mirror of
https://github.com/etesync/server
synced 2024-11-21 08:18:08 +00:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
[global]
|
|
secret_file = secret.txt
|
|
debug = false
|
|
;Set the paths where data will be stored at
|
|
static_root = /path/to/static
|
|
media_root = /path/to/media
|
|
|
|
;Advanced options, only uncomment if you know what you're doing:
|
|
;static_url = /static/
|
|
;media_url = /user-media/
|
|
;language_code = en-us
|
|
;time_zone = UTC
|
|
;redis_uri = redis://localhost:6379
|
|
|
|
[allowed_hosts]
|
|
allowed_host1 = example.com
|
|
|
|
[database]
|
|
engine = django.db.backends.sqlite3
|
|
name = db.sqlite3
|
|
|
|
[database-options]
|
|
; Add engine-specific options here, such as postgresql parameter key words
|
|
|
|
;[ldap]
|
|
;server = <The URL to your LDAP server>
|
|
;search_base = <Your search base>
|
|
;filter = <Your LDAP filter query. '%%s' will be substituted for the username>
|
|
; In case a cache TTL of 1 hour is too short for you, set `cache_ttl` to the preferred
|
|
; amount of hours a cache entry should be viewed as valid:
|
|
;cache_ttl = 5
|
|
;bind_dn = <Your LDAP "user" to bind as. Must be a bind user>
|
|
; Either specify the password directly, or provide a password file
|
|
;bind_pw = <The password to authenticate as your bind user>
|
|
;bind_pw_file = /path/to/the/file.txt
|