Move Synapse to Isaiah
This commit is contained in:
@@ -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}";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user