mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
38 lines
1.5 KiB
INI
38 lines
1.5 KiB
INI
1,1 All
|
|
[STORE_LOG]
|
|
# The server uses STM memory for persistence,
|
|
# that will be lost on restart (e.g., as with redis).
|
|
# This option enables saving memory to append only log,
|
|
# and restoring it when the server is started.
|
|
# Log is compacted on start (deleted objects are removed).
|
|
enable: on
|
|
|
|
# Undelivered messages are optionally saved and restored when the server restarts,
|
|
# they are preserved in the .bak file until the next restart.
|
|
restore_messages: on
|
|
#expire_messages_days: 21
|
|
|
|
# Log daily server statistics to CSV file
|
|
log_stats: off
|
|
|
|
[AUTH]
|
|
# Set new_files option to off to completely prohibit uploading new files.
|
|
# This can be useful when you want to decommission the server, but still allow downloading the existing files.
|
|
new_files: on
|
|
|
|
# Use create_password option to enable basic auth to upload new files.
|
|
# The password should be used as part of server address in client configuration:
|
|
# xftp://fingerprint:password@host1,host2
|
|
# The password will not be shared with file recipients, you must share it only
|
|
# with the users who you want to allow uploading files to your server.
|
|
# create_password: password to upload files (any printable ASCII characters without whitespace, '@', ':' and '/')
|
|
|
|
[TRANSPORT]
|
|
# host is only used to print server address on start
|
|
host: __PUBLIC_IP4__
|
|
port: __PORT_XFTP__
|
|
log_tls_errors: off
|
|
|
|
[FILES]
|
|
path: __DATA_DIR__
|
|
storage_quota: __STORAGE_QUOTA__
|