Move Synapse to Isaiah

This commit is contained in:
Greg Hellings
2024-03-04 21:03:46 +00:00
parent 57cc340d02
commit 347b3005d1
2 changed files with 2 additions and 17 deletions
+1 -1
View File
@@ -5,10 +5,10 @@
./git.nix ./git.nix
./hardware-configuration.nix ./hardware-configuration.nix
./podman.nix ./podman.nix
./matrix.nix
./nextcloud.nix ./nextcloud.nix
./nginx.nix ./nginx.nix
./postgres.nix ./postgres.nix
./synapse.nix
]; ];
greg = { greg = {
@@ -48,22 +48,7 @@ return 200 '${builtins.toJSON client}';
locations."/".extraConfig = "return 404;"; locations."/".extraConfig = "return 404;";
locations."/_matrix" = { locations."/_matrix" = {
proxyPass = "http://127.0.0.1:8448"; # Lacking the trailing / is correct proxyPass = "http://matrix.shire-zebra.ts.net:8448"; # Lacking the trailing / is correct
};
};
# Run Element web
"chat.${fqdn}" = {
enableACME = true;
forceSSL = true;
serverAliases = [
"chat.${domain}"
];
root = pkgs.element-web.override {
conf.default_server_config."m.homeserver" = {
"base_url" = "https://${fqdn}";
"server_name" = "${fqdn}";
};
}; };
}; };
}; };