summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-27 16:51:50 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-27 16:51:50 +0100
commit02636f76e947148ef5edbe516d78a937d54119b7 (patch)
treecaf4d930a3db7e5db881c1f906c4841ac6763ef3 /hosts
parentf6bb720cca8436d6e38e4dccd6caa3869daf2228 (diff)
downloadnixos-02636f76e947148ef5edbe516d78a937d54119b7.tar
nixos-02636f76e947148ef5edbe516d78a937d54119b7.tar.gz
nixos-02636f76e947148ef5edbe516d78a937d54119b7.tar.bz2
nixos-02636f76e947148ef5edbe516d78a937d54119b7.tar.xz
nixos-02636f76e947148ef5edbe516d78a937d54119b7.zip
...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/surtr/matrix/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/surtr/matrix/default.nix b/hosts/surtr/matrix/default.nix
index a2eccc2e..24a78853 100644
--- a/hosts/surtr/matrix/default.nix
+++ b/hosts/surtr/matrix/default.nix
@@ -99,7 +99,7 @@ with lib;
99 add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type, Authorization'; 99 add_header Access-Control-Allow-Headers 'X-Requested-With, Content-Type, Authorization';
100 add_header Access-Control-Max-Age 7200; 100 add_header Access-Control-Max-Age 7200;
101 ''; 101 '';
102 in listToAttrs (map (n: nameValuePair n { proxyPass = "http://matrix-synapse"; }) ["_matrix" "_synapse/client" "_synapse/admin"]) // { 102 in listToAttrs (map (n: nameValuePair n { proxyPass = "http://matrix-synapse"; }) ["/_matrix" "/_synapse/client" "/_synapse/admin"]) // {
103 "= /.well-known/matrix/server" = { 103 "= /.well-known/matrix/server" = {
104 extraConfig = '' 104 extraConfig = ''
105 default_type application/json; 105 default_type application/json;