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 = {