diff options
author | Daniel Wiesenberg <weasy@hotmail.de> | 2021-08-17 14:44:53 +0200 |
---|---|---|
committer | Daniel Wiesenberg <weasy@hotmail.de> | 2021-08-26 12:26:32 +0200 |
commit | 5800e9b79738b2d211512d189a871f6bf0c122fc (patch) | |
tree | 3d5600d383a9c4f63e57dbef3b1a82eae731d1da /DEPLOY.md | |
parent | 33481ec062d0e136d4c9097e5438e5015f783800 (diff) | |
download | conduit-5800e9b79738b2d211512d189a871f6bf0c122fc.zip |
Add Traefik setup, incl. step-by-step, to docker README.
Diffstat (limited to 'DEPLOY.md')
-rw-r--r-- | DEPLOY.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |