add /.well-known/matrix/support document
This commit is contained in:
parent
a6167eeb14
commit
059df81aa8
1 changed files with 7 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue