From 3078f626e5d7fa2c7fb1f1a06aec7da4e037d672 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Sun, 8 Mar 2026 14:01:08 +0100 Subject: [PATCH] fix indentation --- hosts/matrix/synapse.nix | 52 ++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/hosts/matrix/synapse.nix b/hosts/matrix/synapse.nix index e25e211..194ecaa 100644 --- a/hosts/matrix/synapse.nix +++ b/hosts/matrix/synapse.nix @@ -66,33 +66,33 @@ ]; enableRegistrationScript = true; }; - }; - nginx.virtualHosts."matrix.${config.networking.domain}" = { - default = true; - quic = true; - kTLS = true; - forceSSL = true; - enableACME = true; - locations = { - "/".return = "418 \"🫖\""; - "~ ^(/_matrix|/_synapse/client)" = { - recommendedProxySettings = true; - proxyPass = "http://[::1]:8008"; - extraConfig = '' - client_max_body_size 64M; - proxy_set_header X-Request-ID $request_id; - proxy_http_version 1.1; - ''; - }; - "/_synapse/metrics" = { - proxyPass = "http://[::1]:9009"; - recommendedProxySettings = true; - extraConfig = '' - allow 2001:678:760:cccb::14; - allow 195.160.173.14; - deny all; - ''; + nginx.virtualHosts."matrix.${config.networking.domain}" = { + default = true; + quic = true; + kTLS = true; + forceSSL = true; + enableACME = true; + locations = { + "/".return = "418 \"🫖\""; + "~ ^(/_matrix|/_synapse/client)" = { + recommendedProxySettings = true; + proxyPass = "http://[::1]:8008"; + extraConfig = '' + client_max_body_size 64M; + proxy_set_header X-Request-ID $request_id; + proxy_http_version 1.1; + ''; + }; + "/_synapse/metrics" = { + proxyPass = "http://[::1]:9009"; + recommendedProxySettings = true; + extraConfig = '' + allow 2001:678:760:cccb::14; + allow 195.160.173.14; + deny all; + ''; + }; }; }; };