Compare commits

...
Author SHA1 Message Date
566457f47d
disable http2 for hamburg.ccc.de 2026-11-18 18:07:49 +01:00
059df81aa8
add /.well-known/matrix/support document 2026-11-18 17:28:01 +01:00

View file

@ -23,6 +23,10 @@
useACMEHost = "hamburg.ccc.de"; useACMEHost = "hamburg.ccc.de";
default = true; default = true;
# security mitigation
# https://my.f5.com/manage/s/article/K000164058
http2 = false;
listen = [ listen = [
{ {
addr = "[::]"; addr = "[::]";
@ -59,6 +63,13 @@
add_header Access-Control-Allow-Origin *; 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 # Redirect pages starting with 4 digits for redirecting the old blog
# article URLs. # article URLs.