summaryrefslogtreecommitdiff
path: root/DEPLOY.md
diff options
context:
space:
mode:
authorDaniel Wiesenberg <weasy@hotmail.de>2021-08-17 14:44:53 +0200
committerDaniel Wiesenberg <weasy@hotmail.de>2021-08-26 12:26:32 +0200
commit5800e9b79738b2d211512d189a871f6bf0c122fc (patch)
tree3d5600d383a9c4f63e57dbef3b1a82eae731d1da /DEPLOY.md
parent33481ec062d0e136d4c9097e5438e5015f783800 (diff)
downloadconduit-5800e9b79738b2d211512d189a871f6bf0c122fc.zip
Add Traefik setup, incl. step-by-step, to docker README.
Diffstat (limited to 'DEPLOY.md')
-rw-r--r--DEPLOY.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
index 85f3f07..b058418 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -44,7 +44,7 @@ This also allows you to make sure that the file permissions are correctly set up
In Debian you can use this command to create a Conduit user:
-```
+```bash
sudo adduser --system conduit --no-create-home
```
@@ -131,13 +131,13 @@ address = "127.0.0.1" # This makes sure Conduit can only be reached using the re
As we are using a Conduit specific user we need to allow it to read the config.
To do that you can run this command on Debian:
-```
+```bash
sudo chown -R conduit:nogroup /etc/matrix-conduit
```
If you use the default database path you also need to run this:
-```
+```bash
sudo mkdir -p /var/lib/matrix-conduit/conduit_db
sudo chown -R conduit:nogroup /var/lib/matrix-conduit/conduit_db
```
@@ -151,7 +151,7 @@ This depends on whether you use Apache, Nginx or another web server.
Create `/etc/apache2/sites-enabled/050-conduit.conf` and copy-and-paste this:
-```
+```apache
Listen 8448
<VirtualHost *:443 *:8448>
@@ -180,7 +180,7 @@ $ sudo systemctl reload apache2
If you use Nginx and not Apache, add the following server section inside the
http section of `/etc/nginx/nginx.conf`
-```
+```nginx
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;