From 3b69db3c1e5fba35e11a91e6d92add8b7ec08cbb Mon Sep 17 00:00:00 2001 From: Julian Foad Date: Fri, 30 Aug 2019 12:22:08 +0100 Subject: [PATCH] More Apache ProxyPass directives need 'nocanon' Invitations weren't working for me until I added 'nocanon' to these additional places. Until then, invitations failed with "Invalid signature for server ..." errors, as in https://github.com/matrix-org/synapse/issues/3294 . I didn't check whether the user_directory/search proxy line also needs it, I just assumed it should have it too. The other two proxy lines in this example also include a 'retry=0' parameter. That's a separate issue; I haven't touched it here. --- examples/apache/matrix-synapse.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/apache/matrix-synapse.conf b/examples/apache/matrix-synapse.conf index bfd1abc7..fee240cf 100644 --- a/examples/apache/matrix-synapse.conf +++ b/examples/apache/matrix-synapse.conf @@ -71,12 +71,12 @@ # Map /_matrix/identity to the identity server - ProxyPass http://127.0.0.1:8090/_matrix/identity + ProxyPass http://127.0.0.1:8090/_matrix/identity nocanon # Map /_matrix/client/r0/user_directory/search to the identity server - ProxyPass http://127.0.0.1:8090/_matrix/client/r0/user_directory/search + ProxyPass http://127.0.0.1:8090/_matrix/client/r0/user_directory/search nocanon ErrorLog ${APACHE_LOG_DIR}/matrix.DOMAIN-error.log