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-client-cinny.md
Slavi Pantaleev 446e656424 Mark matrix_client_cinny_path_prefix as not supported anymore
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3701

We can restore support for it by making a non-/ path prefix trigger a
self-build with a modified build config, so that a Cinny version with
path-prefix support would be produced. Traefik label changes may also be
required.

For now, we're not doing all that work, but simply dropping support for path
prefixes for Cinny.
2024-10-30 09:53:03 +02:00

1.9 KiB

Setting up Cinny (optional)

This playbook can install the Cinny Matrix web client for you.

Cinny is a web client focusing primarily on simple, elegant and secure interface. It can be installed alongside or instead of Element.

Adjusting the playbook configuration

To enable Cinny, add the following configuration to your inventory/host_vars/matrix.example.com/vars.yml file:

matrix_client_cinny_enabled: true

Adjusting the Cinny URL

By default, this playbook installs Cinny on the cinny. subdomain (cinny.example.com) and requires you to adjust your DNS records.

By tweaking the matrix_client_cinny_hostname variable, you can easily make the service available at a different hostname than the default one.

While a matrix_client_cinny_path_prefix variable exists for tweaking the path-prefix, it's not supported anymore, because Cinny requires an application rebuild (with a tweaked build config) to be functional under a custom path.

Example additional configuration for your inventory/host_vars/matrix.example.com/vars.yml file:

# Switch to a different domain (`app.example.com`) than the default one (`cinny.example.com`)
matrix_client_cinny_hostname: "app.{{ matrix_domain }}"

Adjusting DNS records

Once you've decided on the domain, you may need to adjust your DNS records to point the Cinny domain to the Matrix server.

By default, you will need to create a CNAME record for cinny. See Configuring DNS for details about DNS changes.

If you've adjusted matrix_client_cinny_hostname, you will need to adjust your DNS configuration accordingly.

Installing

After configuring the playbook and adjusting your DNS records, run the installation command: just install-all or just setup-all