[Debian-rtc-admin] HTTP File Upload

Martin debacle at debian.org
Fri Oct 25 15:00:53 BST 2019


Dears,

most modern XMPP clients do support XEP-0363: HTTP File Upload.
It would be nice to have it in our server, too.

Until yesterday, I was not aware, that prosodys http_upload
module has some sort of quota support, which I consider a
requirement for our use case.

In my companys server I have:

modules_enabled = {
     ....
     "http_upload";
     ...
};

http_upload_file_size_limit = 16777216 -- 16 MiB
http_upload_quota = 268435456 -- 256 MiB
http_upload_expire_after = 4194304 -- ~1.5 months
http_external_url = "https://nameofthexmppserver.company.com/"
http_interfaces = { "*" }
http_host = "nameofthexmppserver.company.com"

In my case, there is an nginx as frontend to HTTPS.

I hope, the quota mechanism actually works. I did not test it.

What do you think?

Cheers

PS: Spam protection is, of course, more urgent than HTTP upload.




More information about the Debian-rtc-team mailing list