1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/docs/configuring-playbook-base-domain-serving.md
2019-03-19 18:23:54 +02:00

2.0 KiB

Serving the base domain

This playbook sets up services on your Matrix server (matrix.DOMAIN). To have this server officially be responsible for Matrix services for the base domain (DOMAIN), you need to set up Server Delegation. This is normally done by configuring well-known files on the base domain.

People who don't have a separate server to dedicate to the base domain have trouble arranging this.

Usually, there are 2 options:

  • either get a separate server for the base domain, just for serving the files necessary for Server Delegation via a well-known file

  • or, arrange for the Matrix server to serve the base domain. This either involves you using your own webserver or making the integrated webserver (matrix-nginx-proxy) serve the base domain for you.

We let you do the latter. With some easy changes, we make it possible to serve the base domain from the Matrix server via the integrated webserver (matrix-nginx-proxy).

Just adjust your DNS records, so that your base domain is pointed to the Matrix server's IP address and use the following configuration:

matrix_nginx_proxy_base_domain_serving_enabled: true

Doing this, the playbook will: