mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 14:32:51 +01:00
5e8a7fd05b
This supersedes #59 (Github Pull Request), which was greatly beneficial in creating our sample Apache configuration.
18 lines
939 B
Markdown
18 lines
939 B
Markdown
# Apache reverse-proxy
|
|
|
|
This directory contains sample files that show you how to do reverse-proxying using Apache.
|
|
|
|
This is for when you wish to have your own Apache webserver sitting in front of Matrix services installed by this playbook.
|
|
See the [Using your own webserver, instead of this playbook's nginx proxy](../../docs/configuring-playbook-own-webserver.md) documentation page.
|
|
|
|
To use your own Apache reverse-proxy, you first need to disable the integrated nginx server.
|
|
You do that with the following custom configuration (`inventory/matrix.<your-domain>/vars.yml`):
|
|
|
|
```yaml
|
|
matrix_nginx_proxy_enabled: false
|
|
```
|
|
|
|
You can then use the configuration files from this directory as an example for how to configure your Apache server.
|
|
|
|
**NOTE**: this is just an example and may not be entirely accurate. It may also not cover other use cases (enabling various services or bridges requires additional reverse-proxying configuration).
|