Add /.well-known/matrix/support endpoint

This commit is contained in:
fi 2026-05-01 16:18:28 +02:00
commit 9ba87803fc
Signed by: fi
SSH key fingerprint: SHA256:dgX1HRsK+8F1OzYvKfv1VLhMJac/Iv/rsjixuV94+dA

View file

@ -22,6 +22,13 @@
add_header Access-Control-Allow-Origin *;
'';
};
locations."/.well-known/matrix/support" = {
return = "200 '{\"contacts\": [{\"email_address\": \"admin@nekover.se\", \"role\": \"m.role.admin\"}]}'";
extraConfig = ''
default_type application/json;
add_header Access-Control-Allow-Origin *;
'';
};
extraConfig = ''
set_real_ip_from 10.202.41.100; # IPv4 from web-public-2
set_real_ip_from 10.203.10.3; # IPv6 from valkyrie