matrix-docker-ansible-deploy/examples/apache/README.md

15 lines
1.0 KiB
Markdown
Raw Normal View History

# Apache reverse-proxy
2024-01-14 15:23:28 +00:00
This directory contains sample files that show you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your Apache reverse-proxy.
2024-01-14 15:23:28 +00:00
## Prerequisite configuration
2024-01-14 15:23:28 +00:00
To get started, first follow the [front the integrated reverse-proxy webserver with another reverse-proxy](../../docs/configuring-playbook-own-webserver.md#fronting-the-integrated-reverse-proxy-webserver-with-another-reverse-proxy) instructions and update your playbook's configuration (`inventory/host_vars/matrix.<your-domain>/vars.yml`).
2024-01-14 15:23:28 +00:00
## Using the Apache configuration
2024-01-14 15:23:28 +00:00
`matrix-domain.conf` contains configuration for the Matrix domain, which handles both the Client-Server API (port `443`) and the Matrix Federation API (port `8448`).
2024-01-14 15:23:28 +00:00
`matrix-client-element.conf` is an example for when you're hosting Element at `element.DOMAIN`.
This configuration can also be used as an example for handling other domains, depending on the services you enable with the playbook (e.g. `dimension.DOMAIN`, etc).