about summary refs log tree commit diff
path: root/nixos/modules/services/matrix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2023-10-08 19:53:26 +0200
committerGitHub <noreply@github.com>2023-10-08 19:53:26 +0200
commit669da9ccdb01dff94eda13bc0f4bea5449efcfa5 (patch)
treed746ad3a64f74ccd5f8cb346a6d5ae8f692e0fb5 /nixos/modules/services/matrix
parentc04d238bf9b892253cceef9b5f7097390e036e1b (diff)
parent5f445e8cf578d0e180d50fca1f13e55a3739a39a (diff)
Merge pull request #246117 from Ralith/fix-synapse-well-known-example
nixos/matrix-synapse: fix duplicate Content-Type header in example
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r--nixos/modules/services/matrix/synapse.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/matrix/synapse.md b/nixos/modules/services/matrix/synapse.md
index 1d22805b472f6..58be24204fcfe 100644
--- a/nixos/modules/services/matrix/synapse.md
+++ b/nixos/modules/services/matrix/synapse.md
@@ -31,7 +31,7 @@ let
   clientConfig."m.homeserver".base_url = baseUrl;
   serverConfig."m.server" = "${fqdn}:443";
   mkWellKnown = data: ''
-    add_header Content-Type application/json;
+    default_type application/json;
     add_header Access-Control-Allow-Origin *;
     return 200 '${builtins.toJSON data}';
   '';