Allow access to Synapse's healthcheck through proxy

This commit is contained in:
Paul-Henri Froidmont 2022-12-02 07:16:05 +01:00
parent aeb18fa58c
commit 725e2e10f4
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -65,7 +65,7 @@ in
''; '';
# forward all Matrix API calls to the synapse Matrix homeserver # forward all Matrix API calls to the synapse Matrix homeserver
locations."/_matrix" = { locations."~ ^(/_matrix|/health)" = {
proxyPass = "http://[::1]:8008"; # without a trailing / proxyPass = "http://[::1]:8008"; # without a trailing /
}; };
}; };