VEGAS/matrix: fix CORS policy
This commit is contained in:
parent
50f689c2ec
commit
88b214bce1
1 changed files with 6 additions and 1 deletions
|
@ -118,7 +118,12 @@ in {
|
||||||
access_log off;
|
access_log off;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
locations."= /.well-known/matrix/client".alias = clientConfigJSON;
|
locations."= /.well-known/matrix/client" = {
|
||||||
|
alias = clientConfigJSON;
|
||||||
|
extraConfig = ''
|
||||||
|
add_header Access-Control-Allow-Origin "*";
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services = lib.genAttrs [ "coturn" "matrix-appservice-discord" "matrix-synapse" ] (_: {
|
systemd.services = lib.genAttrs [ "coturn" "matrix-appservice-discord" "matrix-synapse" ] (_: {
|
||||||
|
|
Loading…
Reference in a new issue