Ver a proveniência
Merge pull request #1910 from freiit/patch-1
Add configuration instruction for AWS CloundFront
pull/1911/head
Slavi Pantaleev
há 3 anos
committed by
GitHub
ascendente
cometimento
1c25ca78d4
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
5 adições e
0 eliminações
-
docs/configuring-well-known.md
|
|
|
@@ -168,6 +168,11 @@ backend matrix-backend |
|
|
|
/.well-known/matrix/* https://matrix.DOMAIN/.well-known/matrix/:splat 200! |
|
|
|
``` |
|
|
|
|
|
|
|
**For AWS CloudFront** |
|
|
|
|
|
|
|
1. Add a custom origin with matrix.<your-domain> to your distribution |
|
|
|
1. Add two behaviors, one for `.well-known/matrix/client` and one for `.well-known/matrix/server` and point them to your new origin. |
|
|
|
|
|
|
|
Make sure to: |
|
|
|
|
|
|
|
- **replace `DOMAIN`** in the server configuration with your actual domain name |
|
|
|
|