nixos: services: matrix: fix proxy to synapse
I want to make use of the `/_synapse/matrix/` sub-path, so just proxy the whole of `/_synapse/`.
This commit is contained in:
parent
1e31b2dfea
commit
fa7b4910f5
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ in
|
||||||
"/".return = "404";
|
"/".return = "404";
|
||||||
|
|
||||||
"/_matrix".proxyPass = "http://[::1]:${toString cfg.port}";
|
"/_matrix".proxyPass = "http://[::1]:${toString cfg.port}";
|
||||||
"/_synapse/client".proxyPass = "http://[::1]:${toString cfg.port}";
|
"/_synapse".proxyPass = "http://[::1]:${toString cfg.port}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue