From 40a8898f48880a16c88596effda4f58df5a0093f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Thu, 25 Aug 2022 20:19:49 +0100 Subject: [PATCH] Revert "fix compile error" This reverts commit 661bcf90a456709afb05efafdde92d1fb2a19680. --- config/services/matrix-media-repo.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/services/matrix-media-repo.nix b/config/services/matrix-media-repo.nix index 83a55000..0900dd3c 100644 --- a/config/services/matrix-media-repo.nix +++ b/config/services/matrix-media-repo.nix @@ -169,18 +169,18 @@ in { }; "/_matrix/media" = mediaProxyConfig; "/_matrix/client/v3/logout" = mediaProxyConfig; - "/.well-known/matrix/server" = { + locations."/.well-known/matrix/server" = { extraConfig = '' return 200 '{ "m.server": "matrix.chir.rs:443" }'; ''; }; - "/.well-known/matrix/client" = { + locations."/.well-known/matrix/client" = { extraConfig = '' add_header Access-Control-Allow-Origin '*'; return 200 '{ "m.homeserver": { "base_url": "https://matrix.chir.rs" } }'; ''; }; - "/_synapse/metrics" = { + locations."/_synapse/metrics" = { extraConfig = '' return 404 'Not found'; '';