Bladeren bron

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.
pull/258/head
Julian Foad 6 jaren geleden
committed by GitHub
bovenliggende
commit
3b69db3c1e
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: 4AEE18F83AFDEB23
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. +2
    -2
      examples/apache/matrix-synapse.conf

+ 2
- 2
examples/apache/matrix-synapse.conf Bestand weergeven

@@ -71,12 +71,12 @@


# Map /_matrix/identity to the identity server # Map /_matrix/identity to the identity server
<Location /_matrix/identity> <Location /_matrix/identity>
ProxyPass http://127.0.0.1:8090/_matrix/identity
ProxyPass http://127.0.0.1:8090/_matrix/identity nocanon
</Location> </Location>


# Map /_matrix/client/r0/user_directory/search to the identity server # Map /_matrix/client/r0/user_directory/search to the identity server
<Location /_matrix/client/r0/user_directory/search> <Location /_matrix/client/r0/user_directory/search>
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
</Location> </Location>


ErrorLog ${APACHE_LOG_DIR}/matrix.DOMAIN-error.log ErrorLog ${APACHE_LOG_DIR}/matrix.DOMAIN-error.log


Laden…
Annuleren
Opslaan