From e573a1b8edebde2630760af8fc96336723c7b36c Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Sat, 22 Mar 2025 14:56:00 -0400 Subject: [PATCH] matrix: fix port 443 with delegation --- services/matrix.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/matrix.nix b/services/matrix.nix index 5f5407f..fe6733a 100644 --- a/services/matrix.nix +++ b/services/matrix.nix @@ -12,7 +12,7 @@ services.caddy.virtualHosts.${service_configs.https.domain}.extraConfig = lib.mkBefore '' header /.well-known/matrix/* Content-Type application/json header /.well-known/matrix/* Access-Control-Allow-Origin * - respond /.well-known/matrix/server `{"m.server": "${service_configs.https.matrix_hostname}:443"}` + respond /.well-known/matrix/server `{"m.server": "${service_configs.https.matrix_hostname}:${service_configs.ports.https}"}` respond /.well-known/matrix/client `{"m.server":{"base_url":"https://${service_configs.https.matrix_hostname}"},"m.homeserver":{"base_url":"https://${service_configs.https.matrix_hostname}"},"org.matrix.msc3575.proxy":{"base_url":"https://${config.services.matrix-conduit.settings.global.server_name}"}}` '';