From 66c843494edff60e57de8115cacc55784e0ac68c Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 18 Jan 2024 08:03:21 +0300 Subject: [PATCH] Fix nginx config --- hosts/cube/matrix-synapse.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/cube/matrix-synapse.nix b/hosts/cube/matrix-synapse.nix index 9b6ab07..6783132 100644 --- a/hosts/cube/matrix-synapse.nix +++ b/hosts/cube/matrix-synapse.nix @@ -93,8 +93,8 @@ in serverSystemConfiguration { forceSSL = true; useACMEHost = domain; - locations."/".proxyPass = "http://[::]${toString config.services.site.port}/404"; - locations."/assets".proxyPass = "http://[::]${toString config.services.site.port}/assets"; + locations."/".proxyPass = "http://[::]:${toString config.services.site.port}/404"; + locations."/assets".proxyPass = "http://[::]:${toString config.services.site.port}/assets"; locations."= /.well-known/matrix/client".extraConfig = wellKnownResponse clientConfig; locations."= /.well-known/matrix/server".extraConfig = wellKnownResponse serverConfig;