matrix-docker-ansible-deploy/examples/apache
Julian Foad 3b69db3c1e
More Apache ProxyPass directives need 'nocanon'
Invitations weren't working for me until I added 'nocanon' to these additional places. Until then, invitations failed with "Invalid signature for server ..." errors, as in https://github.com/matrix-org/synapse/issues/3294 .

I didn't check whether the user_directory/search proxy line also needs it, I just assumed it should have it too.

The other two proxy lines in this example also include a 'retry=0' parameter. That's a separate issue; I haven't touched it here.
2019-08-30 12:22:08 +01:00
..
matrix-dimension.conf Add example Apache configuration for Dimension 2019-03-18 21:17:42 +02:00
matrix-riot-web.conf Add example Apache configuration for Dimension 2019-03-18 21:17:42 +02:00
matrix-synapse.conf More Apache ProxyPass directives need 'nocanon' 2019-08-30 12:22:08 +01:00
README.md Fix incorrect inventory host_vars paths 2019-05-24 08:06:42 +09:00

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 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/host_vars/matrix.<your-domain>/vars.yml):

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).