Преглед изворни кода

Update SRV delegation docs

The path rule was not working because for federation fo work it needs several endpoints.

Two of them are not under /_matrix/federation : 

- /_matrix/key
- /_matrix/media
pull/3173/head
Antoine-Ali Zarrouk пре 2 година
committed by GitHub
родитељ
комит
05e1fa3546
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      docs/howto-srv-server-delegation.md

+ 1
- 1
docs/howto-srv-server-delegation.md Прегледај датотеку

@@ -27,7 +27,7 @@ Also, all instructions below are from an older version of the playbook and may n


```yaml ```yaml
# To serve the federation from any domain, as long as the path matches # To serve the federation from any domain, as long as the path matches
matrix_synapse_container_labels_public_federation_api_traefik_rule: PathPrefix(`/_matrix/federation`)
matrix_synapse_container_labels_public_federation_api_traefik_rule: PathPrefix(`/_matrix/`)
``` ```


This is because with SRV federation, some servers / tools (one of which being the federation tester) try to access the federation API using the resolved IP address instead of the domain name (or they are not using SNI). This change will make Traefik route all traffic for which the path match this rule go to the federation endpoint. This is because with SRV federation, some servers / tools (one of which being the federation tester) try to access the federation API using the resolved IP address instead of the domain name (or they are not using SNI). This change will make Traefik route all traffic for which the path match this rule go to the federation endpoint.


Loading…
Откажи
Сачувај