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

15 lines
1.0 KiB
Markdown
Raw Normal View History

# Apache reverse-proxy
2024-01-14 16:23:28 +01: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 16:23:28 +01:00
## Prerequisite configuration
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.example.com/vars.yml`).
2024-01-14 16:23:28 +01:00
## Using the Apache configuration
2024-01-14 16:23:28 +01: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`).
`matrix-client-element.conf` is an example for when you're hosting Element at `element.example.com`.
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.example.com`, etc).