diff options
author | tdback <tyler@tdback.net> | 2025-01-18 11:32:11 -0500 |
---|---|---|
committer | tdback <tyler@tdback.net> | 2025-01-18 11:32:11 -0500 |
commit | 24dc1ef8e285cf39646fc2d7930ee15a110cde13 (patch) | |
tree | 3087d95f1e1d700e86d2e11022b0139ca0c290e1 /modules/services/web | |
parent | c83fa9cd8cd0ec6cbd9cf8d5b3d29a6b45ba06c1 (diff) |
Diffstat (limited to 'modules/services/web')
-rw-r--r-- | modules/services/web/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
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}"}}` } |