add backups + fix appservice-irc media proxy
This commit is contained in:
parent
d672a1d1ee
commit
8129b26c4c
14 changed files with 214 additions and 8 deletions
|
@ -4,6 +4,8 @@ let
|
|||
bindPort = cfg.settings.ircService.mediaProxy.bindPort;
|
||||
upstreamUrl = "127.0.0.1:${toString bindPort}";
|
||||
in {
|
||||
backups.directories = [ "/var/lib/matrix-appservice-irc" ];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedProxySettings = true;
|
||||
|
@ -26,7 +28,10 @@ in {
|
|||
homeserver.url = "https://matrix.federez.net";
|
||||
homeserver.domain = "federez.net";
|
||||
|
||||
ircService.mediaProxy.publicUrl = "https://matrix-irc.federez.net/media";
|
||||
ircService.mediaProxy = {
|
||||
publicUrl = "https://matrix-irc.federez.net/";
|
||||
ttlSeconds = 3153600000; # 100 ans
|
||||
};
|
||||
|
||||
ircService.servers."irc.rezosup.org" = {
|
||||
name = "RezoSup";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue