2020-11-02 18:17:55 +01:00
|
|
|
{
|
2021-03-30 16:56:35 +02:00
|
|
|
log_level: "DEBUG",
|
|
|
|
db_log_level: "ERROR",
|
2021-03-30 17:01:59 +02:00
|
|
|
public_url: 'https://ily.li',
|
|
|
|
public_websocket_url: 'wss://ily.li',
|
2021-03-30 16:56:35 +02:00
|
|
|
session: {
|
|
|
|
cookie: {
|
2021-03-30 17:01:59 +02:00
|
|
|
secure: true
|
2021-03-30 16:56:35 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
mail: {
|
|
|
|
secure: true,
|
2021-03-30 17:01:59 +02:00
|
|
|
allow_invalid_tls: false
|
2021-03-30 16:56:35 +02:00
|
|
|
},
|
2021-03-30 17:01:59 +02:00
|
|
|
magic_link: {
|
|
|
|
validity_period: 900,
|
|
|
|
},
|
|
|
|
newlyGeneratedSlugSize: 5,
|
|
|
|
// 30 days
|
|
|
|
default_file_ttl: 2592000,
|
|
|
|
// MB
|
|
|
|
max_upload_size: 8192,
|
|
|
|
// MB
|
|
|
|
max_hotlink_size: 128,
|
|
|
|
auth: {
|
|
|
|
approval_mode: true,
|
|
|
|
},
|
|
|
|
domain: 'ily.li',
|
|
|
|
allowed_url_domains: [
|
|
|
|
'ily.li',
|
|
|
|
],
|
|
|
|
default_url_domain_for_files: 0,
|
|
|
|
default_url_domain_for_urls: 0,
|
|
|
|
// 1 day in ms
|
|
|
|
delete_old_files_interval: 86400000
|
2020-09-03 08:28:57 +02:00
|
|
|
}
|