Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
566457f47d |
|||
|
059df81aa8 |
1 changed files with 11 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
|||
useACMEHost = "hamburg.ccc.de";
|
||||
default = true;
|
||||
|
||||
# security mitigation
|
||||
# https://my.f5.com/manage/s/article/K000164058
|
||||
http2 = false;
|
||||
|
||||
listen = [
|
||||
{
|
||||
addr = "[::]";
|
||||
|
|
@ -59,6 +63,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