add /.well-known/matrix/support document

This commit is contained in:
lilly 2026-11-01 18:25:30 +01:00
commit 059df81aa8
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g

View file

@ -59,6 +59,13 @@
add_header Access-Control-Allow-Origin *;
'';
};
locations."/.well-known/matrix/support" = {
return = "200 '{\"support_page\": \"https://infra-docs.hamburg.ccc.de/concepts-and-configurations/matrix-moderation/\", \"contacts\": [{\"role\": \"m.role.security\", \"email_address\": \"infra@hamburg.ccc.de\"}, {\"role\": \"m.role.admin\", \"email_address\": \"matrix-moderation@hamburg.ccc.de\"}]}'";
extraConfig = ''
default_type application/json;
add_header Access-Control-Allow-Origin *;
'';
};
# Redirect pages starting with 4 digits for redirecting the old blog
# article URLs.