Fediversity/matrix/element-web/README.md

1.1 KiB

Table of Contents

Element-web

Element-web is the webinterface, Element in a browser. You'll find the source and documentation on installing and configuring on Github.

You should never run Element-web on the same FQDN as your Synapse-server, because of XSS problems. So start by defining a new FQDN for where you will publish Element-web, and get a certificate for that.

We'll use element.matrixdev.example.com here.

Installing on Debian

Installing it on Debian is very easy indeed:

wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" |
              tee /etc/apt/sources.list.d/element-io.list
apt update
apt install element-web

Configuration

Configuring is done in config.json, see the documentation on Github.