ソースを参照

Merge pull request #888 from pionaiki/patch-1

Add Netlify instructions
pull/891/head
Slavi Pantaleev 5年前
committed by GitHub
コミット
bbaaf02f8f
この署名に対応する既知のキーがデータベースに存在しません 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


読み込み中…
キャンセル
保存