Fix gixy
This commit is contained in:
parent
8724e9a7eb
commit
6c950fc96c
|
@ -54,13 +54,13 @@ in
|
||||||
"~ ^/.well-known/matrix/server" = {
|
"~ ^/.well-known/matrix/server" = {
|
||||||
return = "200 '{\"m.server\": \"matrix.c3d2.de:443\"}'";
|
return = "200 '{\"m.server\": \"matrix.c3d2.de:443\"}'";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header Content-Type application/json;
|
default_type application/json;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"~ ^/.well-known/matrix/client" = {
|
"~ ^/.well-known/matrix/client" = {
|
||||||
return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.c3d2.de\"}}'";
|
return = "200 '{\"m.homeserver\": {\"base_url\": \"https://matrix.c3d2.de\"}}'";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header "Content-Type" application/json;
|
default_type application/json;
|
||||||
add_header "Access-Control-Allow-Origin" *;
|
add_header "Access-Control-Allow-Origin" *;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue