1 parent
698e3c4a1b
commit
e3e844ef4f
31 files changed
+287
-75
No files matched your search
+10
-2
@@ -1,4 +1,4 @@
|
||||
# RustBox 0.1.1
|
||||
# RustBox 0.1.2
|
||||
host = "127.0.0.1"
|
||||
port = 3001
|
||||
environment = "production"
|
||||
@@ -10,6 +10,8 @@ default_theme = "system"
|
||||
default_interface_skin = "gmail"
|
||||
data_dir = "/var/lib/rustbox"
|
||||
log_dir = "/var/log/rustbox"
|
||||
# trace | debug | info | warn | error | off. RUST_LOG still overrides this value.
|
||||
log_level = "info"
|
||||
session_timeout_hours = 24
|
||||
|
||||
# Application database. The selected engine stores all RustBox account data.
|
||||
@@ -19,6 +21,11 @@ database_backend = "sqlite" # sqlite | mysql | pgsql
|
||||
# database_url = "postgres://rustbox:secret@db.example.com/rustbox"
|
||||
session_backend = "database" # database | redis
|
||||
cluster_mode = false
|
||||
# Required acknowledgement in cluster mode: data_dir must be shared by every node
|
||||
# because draft attachments are stored there.
|
||||
cluster_shared_data_dir = false
|
||||
# Built-in Tantivy is single-node. Cluster mode requires disabled.
|
||||
search_index_backend = "tantivy" # tantivy | disabled
|
||||
# For shared database sessions, Redis sessions, or cluster mode provide the same 32-byte key (base64) on all nodes.
|
||||
# session_encryption_key = "..."
|
||||
# Direct Redis session backend:
|
||||
@@ -75,7 +82,8 @@ trusted_proxies = "127.0.0.1,::1"
|
||||
outgoing_headers = []
|
||||
# OpenPGP. Private keys are stored per user below data_dir with 0700/0600
|
||||
# permissions. Passphrases are never persisted. WKD is enabled by default;
|
||||
# HKP lookup is opt-in and HTTPS-only.
|
||||
# HKP lookup is opt-in and HTTPS-only. Cluster mode requires pgp_enabled=false.
|
||||
pgp_enabled = true
|
||||
pgp_wkd_enabled = true
|
||||
pgp_hkp_enabled = false
|
||||
pgp_hkp_url = "https://keys.openpgp.org"
|
||||
|
||||
Reference in new issue
Block a user