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" *; ''; };