Serve Synapse Admin from quasar
This commit is contained in:
parent
d80ae92464
commit
0ebe8d1121
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue