浏览代码

Merge pull request #438 from SeanPONeil/caddy-v2-well-known-docs

Update Caddy example in configuring-well-known to Caddy version 2
pull/440/head
Slavi Pantaleev 6 年前
committed by GitHub
父节点
当前提交
97a1c76ea2
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      docs/configuring-well-known.md

+ 3
- 1
docs/configuring-well-known.md 查看文件

@@ -107,7 +107,9 @@ server {
**For Caddy**, it would be something like this:

```caddy
proxy /.well-known/matrix https://matrix.DOMAIN
reverse_proxy /.well-known/matrix/* https://matrix.DOMAIN {
header_up Host {http.reverse_proxy.upstream.hostport}
}
```

**For HAProxy**, it would be something like this:


正在加载...
取消
保存