1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00
simplex_ynh/conf/file-server.ini
Éric Gaspar 8f09e2808b fix
2023-05-23 18:56:10 +02:00

32 lines
1.2 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
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__