prosody: Expire uploaded files after 1 week, same as MAM
This commit is contained in:
parent
13d03bc903
commit
20b0620e4d
|
@ -227,5 +227,6 @@ Component ("share."..DOMAIN) "http_upload"
|
||||||
http_external_url = "https://share."..DOMAIN.."/"
|
http_external_url = "https://share."..DOMAIN.."/"
|
||||||
end
|
end
|
||||||
http_upload_file_size_limit = 1024 * 1024 * 16 -- 16MB
|
http_upload_file_size_limit = 1024 * 1024 * 16 -- 16MB
|
||||||
|
http_upload_expire_after = 60 * 60 * 24 * 7 -- 1 week
|
||||||
|
|
||||||
Include "/snikket/prosody/*.cfg.lua"
|
Include "/snikket/prosody/*.cfg.lua"
|
||||||
|
|
Loading…
Reference in New Issue