Serve Synapse Admin from quasar
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ self, config, modulesPath, ... }:
|
{ self, modulesPath, pkgs, config, secrets, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
"${modulesPath}/virtualisation/amazon-image.nix"
|
"${modulesPath}/virtualisation/amazon-image.nix"
|
||||||
@@ -28,6 +28,10 @@
|
|||||||
reverse_proxy /_matrix/* localhost:8008
|
reverse_proxy /_matrix/* localhost:8008
|
||||||
reverse_proxy /_synapse/client/* localhost:8008
|
reverse_proxy /_synapse/client/* localhost:8008
|
||||||
'';
|
'';
|
||||||
|
"admin.${config.networking.domain}".extraConfig = ''
|
||||||
|
root * ${pkgs.synapse-admin}
|
||||||
|
file_server
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user