Parcourir la source

Add Netlify instructions

pull/888/head
Martha Sokolska il y a 5 ans
committed by GitHub
Parent
révision
c3fcaa5afe
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. +7
    -0
      docs/configuring-well-known.md

+ 7
- 0
docs/configuring-well-known.md Voir le fichier

@@ -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


Chargement…
Annuler
Enregistrer