ソースを参照

Update Netlify _redirects section

pull/3086/head
Slavi Pantaleev 2年前
committed by GitHub
コミット
25595a3c65
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加2行の削除
  1. +1
    -2
      docs/configuring-well-known.md

+ 1
- 2
docs/configuring-well-known.md ファイルの表示

@@ -170,10 +170,9 @@ 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:
**For Netlify**, configure a [redirect](https://docs.netlify.com/routing/redirects/) using a `_redirects` file in the [publish directory](https://docs.netlify.com/configure-builds/overview/#definitions) with contents like this:

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



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