mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 11:28:31 +01:00
1.5 KiB
1.5 KiB
Nginx reverse-proxy fronting playbook's Traefik
This directory contains a sample config that show you how to do reverse-proxying using Nginx and the playbook's internal traefik container.
This is for when you wish to front the playbook's integrated traefik container with a self-managed Nginx reverse-proxy running on the same server.
See the Using your own webserver, instead of this playbook's nginx proxy & Fronting the integrated reverse-proxy webserver with another reverse-proxy documentation page and follow the instructions for the playbook's configuration (inventory/host_vars/matrix.<your-domain>/vars.yml
).
NOTE:
- that this also disables SSL certificate retrieval, which then has to be done manually (e.g. by using certbot and setting the appropriate path as found in the example nginx configuration file). For the example nginx config one certificate is used that contains all the used subdomains.
- that the example nginx configuration file has to be adapted to whatever services you are using. For example, remove element.domain.com from the
server_name
list if you don't use Element web client or add dimension.domain.com to it if you do use Dimension. - that 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).