[Debian-rtc-admin] HTTP File Upload

gustavo panizzo gfa at zumbi.com.ar
Mon Oct 28 15:32:04 GMT 2019


Hello debacle!

[ i don't know how i missed this email ]
On Fri, Oct 25, 2019 at 04:00:53PM +0200, Martin wrote:
>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"
>

I experimented with this on my personal server. 
I did not need nginx in front of prosody to do ssl, is there any other
advantage of using nginx?

>In my case, there is an nginx as frontend to HTTPS.
>
>I hope, the quota mechanism actually works. I did not test it.
>

quota worked fine without nginx :)

>What do you think?
>
>Cheers
>
>PS: Spam protection is, of course, more urgent than HTTP upload.
>

I'm waiting for DSA to merge my patches so we can manage prosody with
puppet, weasel answered my second call to merge/review the patches

the current iteration of patches doesn't change the current config but
just manages the service using puppet, I plan to iterate on top of it
adding features afterwards

I plan to ask them again this week

have you, or anybody else, experimented with spam protection?

cheers

-- 
IRC: gfa
GPG: 0x27263FA42553615F904A7EBE2A40A2ECB8DAD8D5
OLD GPG: 0x44BB1BA79F6C6333



More information about the Debian-rtc-team mailing list