From 725e2e10f43f768551f0a0b00b6f0581c1fbce26 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Fri, 2 Dec 2022 07:16:05 +0100 Subject: [PATCH] Allow access to Synapse's healthcheck through proxy --- modules/synapse.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/synapse.nix b/modules/synapse.nix index 4265741..e3e8aec 100644 --- a/modules/synapse.nix +++ b/modules/synapse.nix @@ -65,7 +65,7 @@ in ''; # forward all Matrix API calls to the synapse Matrix homeserver - locations."/_matrix" = { + locations."~ ^(/_matrix|/health)" = { proxyPass = "http://[::1]:8008"; # without a trailing / }; };