Migrate from Synapse to Dendrite

This commit is contained in:
2022-07-20 16:34:14 +02:00
parent d1eaf76099
commit af18ffd29e
10 changed files with 171 additions and 33 deletions

View File

@@ -45,6 +45,7 @@
"rewrite ^/gitea/(.*)$ https://git.coolneng.duckdns.org/$1 last;";
"/miniflux/".extraConfig =
"rewrite ^/miniflux/(.*)$ https://rss.coolneng.duckdns.org/$1 last;";
"/.well-known/".alias = "${../well-known}" + "/";
};
};
"radicale.coolneng.duckdns.org" = {
@@ -88,7 +89,13 @@
ssl = true;
}
];
locations."/".proxyPass = "http://localhost:8008/";
locations."~ ^(/_matrix|/_synapse/client)" = {
proxyPass = "http://localhost:8008";
extraConfig = ''
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
'';
};
};
"element.coolneng.duckdns.org" = {
enableACME = true;
@@ -177,7 +184,7 @@
"syncthing.service"
"miniflux.service"
"radicale.service"
"matrix-synapse.service"
"dendrite.service"
"phpfpm-wallabag.service"
];
}