summaryrefslogtreecommitdiff
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/matrix-synapse.nix18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/nixos/matrix-synapse.nix b/modules/nixos/matrix-synapse.nix
index 3966cd4..f47c4f4 100644
--- a/modules/nixos/matrix-synapse.nix
+++ b/modules/nixos/matrix-synapse.nix
@@ -28,15 +28,15 @@ in {
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
};
- };
- "${fqdn}" = {
- enableACME = true;
- forceSSL = true;
- locations."/".extraConfig = ''
- return 404;
- '';
- locations."/_matrix".proxyPass = "http://[::1]:8008";
- locations."/_synapse/client".proxyPass = "http://[::1]:8008";
+ "${fqdn}" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/".extraConfig = ''
+ return 404;
+ '';
+ locations."/_matrix".proxyPass = "http://[::1]:8008";
+ locations."/_synapse/client".proxyPass = "http://[::1]:8008";
+ };
};
};
services.matrix-synapse = {