浏览代码

Merge pull request #3173 from sidewinder94/patch-1

Update SRV delegation docs
pull/3175/head
Slavi Pantaleev 2 年前
committed by GitHub
父节点
当前提交
522e89708d
找不到此签名对应的密钥 GPG 密钥 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
# 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.


正在加载...
取消
保存