From 6c950fc96cd22096d393d0fa6c6b8e532e9d7f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 24 Jul 2023 21:30:18 +0200 Subject: [PATCH] Fix gixy --- hosts/c3d2-web/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/c3d2-web/default.nix b/hosts/c3d2-web/default.nix index 3c358d98..e46a81ef 100644 --- a/hosts/c3d2-web/default.nix +++ b/hosts/c3d2-web/default.nix @@ -54,13 +54,13 @@ in "~ ^/.well-known/matrix/server" = { return = "200 '{\"m.server\": \"matrix.c3d2.de:443\"}'"; extraConfig = '' - add_header Content-Type application/json; + default_type application/json; ''; }; "~ ^/.well-known/matrix/client" = { return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.c3d2.de\"}}'"; extraConfig = '' - add_header "Content-Type" application/json; + default_type application/json; add_header "Access-Control-Allow-Origin" *; ''; };