From cb0a9c279a72503586d9774898cd86b3163c5ca3 Mon Sep 17 00:00:00 2001 From: Rustam Efimov Date: Tue, 14 Apr 2026 22:05:22 +0300 Subject: [PATCH] fix(services/synapse): change proxyPass --- services/synapse/nginx.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/synapse/nginx.nix b/services/synapse/nginx.nix index 967476f..dd4aa49 100644 --- a/services/synapse/nginx.nix +++ b/services/synapse/nginx.nix @@ -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;