Add configuration instruction for AWS CloundFront

This commit is contained in:
freiit
2022-07-01 12:28:10 +02:00
committed by GitHub
parent 66670dfb87
commit 02cc201f14

View File

@ -168,6 +168,11 @@ backend matrix-backend
/.well-known/matrix/* https://matrix.DOMAIN/.well-known/matrix/:splat 200! /.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: Make sure to:
- **replace `DOMAIN`** in the server configuration with your actual domain name - **replace `DOMAIN`** in the server configuration with your actual domain name