set security headers for Matrix client metadata
This commit is contained in:
parent
092932a12d
commit
4f829a530b
@ -221,6 +221,8 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location = /.well-known/matrix/client {
|
location = /.well-known/matrix/client {
|
||||||
|
include snippets/security-headers.conf;
|
||||||
|
add_header Cross-Origin-Resource-Policy "cross-origin" always;
|
||||||
add_header Access-Control-Allow-Origin "*";
|
add_header Access-Control-Allow-Origin "*";
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user