瀏覽代碼

Add Netlify instructions

pull/888/head
Martha Sokolska 5 年之前
committed by GitHub
父節點
當前提交
c3fcaa5afe
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      docs/configuring-well-known.md

+ 7
- 0
docs/configuring-well-known.md 查看文件

@@ -148,6 +148,13 @@ backend matrix-backend
rsprep ^Location:\ (http|https)://matrix.example.com\/(.*) Location:\ \1://matrix.example.com/.well-known/matrix/\2 if response-is-redirect
```

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

```
# In the _redirects file in the website's root
/.well-known/matrix/* https://matrix.DOMAIN/.well-known/matrix/:splat 200!
```

Make sure to:

- **replace `DOMAIN`** in the server configuration with your actual domain name


Loading…
取消
儲存