forked from Fediversity/Fediversity
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
---
|
|
gitea: none
|
|
include_toc: true
|
|
---
|
|
|
|
# Element-web
|
|
|
|
Element-web is the webinterface, Element in a browser. You'll find the source
|
|
and [documentation on installing and
|
|
configuring](https://github.com/element-hq/element-web/blob/develop/docs/install.md)
|
|
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 {#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 {#configuration}
|
|
|
|
Configuring is done in `config.json`, see the [documentation on
|
|
Github](https://github.com/element-hq/element-web/blob/develop/docs/config.md).
|
|
|