diff options
Diffstat (limited to 'host/Rory-nginx/services/nginx')
-rwxr-xr-x | host/Rory-nginx/services/nginx/rory.gay/matrix.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix index 6a5bf47..0c3f6cc 100755 --- a/host/Rory-nginx/services/nginx/rory.gay/matrix.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/matrix.nix @@ -35,7 +35,7 @@ more_set_headers 'Access-Control-Allow-Origin *'; return 200 '${builtins.toJSON { "m.homeserver".base_url = "https://matrix.rory.gay"; - "m.identity_server".base_url = "https://matrix.rory.gay"; + "org.matrix.msc3575.proxy".url = "https://matrix.rory.gay"; } }'; ''; @@ -64,4 +64,8 @@ } }'; ''; + + locations."~ ^/(client/|_matrix/client/unstable/org.matrix.msc3575/sync)" = { + proxyPass = "http://localhost:8100"; + }; } |