From 24dc1ef8e285cf39646fc2d7930ee15a110cde13 Mon Sep 17 00:00:00 2001 From: tdback Date: Sat, 18 Jan 2025 11:32:11 -0500 Subject: fix: add missing header directive --- modules/services/web/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/services/web') diff --git a/modules/services/web/default.nix b/modules/services/web/default.nix index fe97c0e..0a7b392 100644 --- a/modules/services/web/default.nix +++ b/modules/services/web/default.nix @@ -15,14 +15,14 @@ in virtualHosts = { ${config.networking.domain}.extraConfig = '' handle /.well-known/matrix/server { - Content-Type application/json - Access-Control-Allow-Origin * + header Content-Type application/json + header Access-Control-Allow-Origin * respond `{"m.server": "${fqdn}:443"}` } handle /.well-known/matrix/client { - Content-Type application/json - Access-Control-Allow-Origin * + header Content-Type application/json + header Access-Control-Allow-Origin * respond `{"m.homeserver": {"base_url": "${baseUrl}"}}` } -- cgit v1.2.3