Serve Synapse Admin from quasar

This commit is contained in:
2024-09-27 20:59:36 -07:00
parent d80ae92464
commit 0ebe8d1121

View File

@@ -1,4 +1,4 @@
{ self, config, modulesPath, ... }:
{ self, modulesPath, pkgs, config, secrets, ... }:
{
imports = [
"${modulesPath}/virtualisation/amazon-image.nix"
@@ -28,6 +28,10 @@
reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* localhost:8008
'';
"admin.${config.networking.domain}".extraConfig = ''
root * ${pkgs.synapse-admin}
file_server
'';
};
};