ily.li/config/production.json5

33 lines
707 B
Plaintext
Raw Normal View History

2020-11-02 18:17:55 +01:00
{
2020-06-27 17:20:06 +02:00
log_level: "DEBUG",
db_log_level: "ERROR",
2020-11-22 14:06:56 +01:00
public_url: 'https://ily.li',
public_websocket_url: 'wss://ily.li',
2020-06-27 17:20:06 +02:00
session: {
cookie: {
secure: true
2020-11-22 14:06:56 +01:00
},
2020-06-27 17:20:06 +02:00
},
mail: {
secure: true,
allow_invalid_tls: false
2020-11-22 14:06:56 +01:00
},
2020-11-22 15:19:47 +01:00
magic_link: {
validity_period: 900,
},
2020-11-22 14:06:56 +01:00
newlyGeneratedSlugSize: 5,
default_file_ttl: 2592000, // 30 days
max_upload_size: 8192, // MB
max_hotlink_size: 128, // MB
approval_mode: true,
domain: 'ily.li',
allowed_url_domains: [
'ily.li',
],
default_url_domain_for_files: 0,
default_url_domain_for_urls: 0,
2021-03-30 16:31:23 +02:00
// 1 day in ms
delete_old_files_interval: 86400000
}