This commit is contained in:
andromeda
2026-01-13 10:55:24 +01:00
parent b754a3d53f
commit c0e92a4ef3

View File

@@ -28,15 +28,15 @@ in {
locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig; locations."= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig; locations."= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
}; };
}; "${fqdn}" = {
"${fqdn}" = { enableACME = true;
enableACME = true; forceSSL = true;
forceSSL = true; locations."/".extraConfig = ''
locations."/".extraConfig = '' return 404;
return 404; '';
''; locations."/_matrix".proxyPass = "http://[::1]:8008";
locations."/_matrix".proxyPass = "http://[::1]:8008"; locations."/_synapse/client".proxyPass = "http://[::1]:8008";
locations."/_synapse/client".proxyPass = "http://[::1]:8008"; };
}; };
}; };
services.matrix-synapse = { services.matrix-synapse = {