瀏覽代碼

Update Caddy example in configuring-well-known to Caddy version 2

pull/438/head
Sean O'Neil 6 年之前
父節點
當前提交
eb8e162ac2
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 41727E9DEE5EA218
共有 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:


Loading…
取消
儲存