chaos-jetzt / chaos-jetzt-nixfiles

5 stars 2 forks source link

services/matrix: Adjust proxy settings and automatically purge remote media #38

Closed e1mo closed 5 months ago

e1mo commented 5 months ago

According to the synapse docs^1 the proxy_http_version 1.1; directive should be set. The nixpkgs niginx module only does so, when the top-level recommended proxy options is set.

Remote media that has not been acessed in 90 days will be purged. Sice purging remote media is currently doing enough to free up space, I'd suggest not purging local media for now (thus setting the retention to 10 years, thus virtually unlimited).

YtvwlD commented 5 months ago

Not sure whether ten years really is unlimited, but otherwise lgtm. (Sorry for seeing this just now.)

e1mo commented 5 months ago

Yeah, 10 years is not an infinite amount of time. But I saw it as virtually unlimitd. We could also set it to say 100 years or so.