add Matrix homeserver delegation
This commit is contained in:
parent
bf3eecba5f
commit
8e31124e3c
@ -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;
|
||||||
|
1
static/.well-known/matrix/server
Normal file
1
static/.well-known/matrix/server
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"m.server":"matrix.grapheneos.org:443"}
|
Loading…
x
Reference in New Issue
Block a user