fix(services/synapse): change proxyPass
Some checks failed
Nix CI / build (push) Failing after 42m16s

This commit is contained in:
Rustam Efimov 2026-04-14 22:05:22 +03:00
parent 9d9060d68d
commit cb0a9c279a
No known key found for this signature in database

View file

@ -24,8 +24,9 @@ in
locations = {
"= /.well-known/matrix/server".extraConfig = mkWellKnown serverConfig;
"= /.well-known/matrix/client".extraConfig = mkWellKnown clientConfig;
"^~ /_synapse/client".proxyPass = "http://[::1]:${toString cfg.port}";
"^~ /_matrix" = {
proxyPass = "http://127.0.0.1:${toString cfg.port}";
proxyPass = "http://[::1]:${toString cfg.port}";
extraConfig = ''
limit_req zone=matrix burst=100 nodelay;
proxy_set_header Host $host;