add Matrix homeserver delegation

This commit is contained in:
Daniel Micay 2021-05-24 11:30:14 -04:00
parent bf3eecba5f
commit 8e31124e3c
2 changed files with 5 additions and 0 deletions

View File

@ -241,6 +241,10 @@ http {
add_header Cache-Control "public, max-age=31536000, immutable"; add_header Cache-Control "public, max-age=31536000, immutable";
} }
location = /.well-known/matrix/server {
default_type application/json;
}
location ^~ /fonts/ { location ^~ /fonts/ {
include snippets/security-headers.conf; include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "same-origin" always; add_header Cross-Origin-Resource-Policy "same-origin" always;

View File

@ -0,0 +1 @@
{"m.server":"matrix.grapheneos.org:443"}