summaryrefslogtreecommitdiff
path: root/DEPLOY.md
diff options
context:
space:
mode:
authorTimo Kösters <timo@koesters.xyz>2021-09-01 16:04:41 +0000
committerTimo Kösters <timo@koesters.xyz>2021-09-01 16:04:41 +0000
commit9c3f1a927211571c67c1d997712f8d272af4f5b2 (patch)
treed12108525e1cd3f0fd80bdc5186b5613fae8c77c /DEPLOY.md
parent8518d59a0b8afe219762f42652d9fb0bdea0ae1c (diff)
parent5800e9b79738b2d211512d189a871f6bf0c122fc (diff)
downloadconduit-9c3f1a927211571c67c1d997712f8d272af4f5b2.zip
Merge branch 'master' into 'master'
Add Traefik setup, incl. step-by-step, to docker README. See merge request famedly/conduit!158
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 7f92d1d..8218b45 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;