Add /.well-known/matrix/support endpoint
This commit is contained in:
parent
ae2a4c91fd
commit
9ba87803fc
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue