Skip to content

Commit

Permalink
A minimal caveat
Browse files Browse the repository at this point in the history
  • Loading branch information
nisbet-hubbard authored and girlbossceo committed Nov 20, 2024
1 parent 2f2cebe commit 876c6e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/deploying/generic.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ While conduwuit can run as any user it is better to use dedicated users for
different services. This also allows you to make sure that the file permissions
are correctly set up.

In Debian or Fedora/RHEL, you can use this command to create a conduwuit user:
In Debian, you can use this command to create a conduwuit user:

```bash
sudo adduser --system conduwuit --group --disabled-login --no-create-home
```

For distros without `adduser`:
For distros without `adduser` (or where it's a symlink to `useradd`):

```bash
sudo useradd -r --shell /usr/bin/nologin --no-create-home conduwuit
Expand Down Expand Up @@ -142,8 +142,8 @@ If using Nginx, you need to give conduwuit the request URI using `$request_uri`,
- `proxy_pass http://127.0.0.1:6167$request_uri;`
- `proxy_pass http://127.0.0.1:6167;`

Nginx users may need to set `proxy_buffering off;` if there are issues with
uploading media like images. This is due to Nginx storing the entire POST content in-memory (`/tmp`) and running out of memory if on low memory hardware.
Nginx users need to increase `client_max_body_size` (default is 1M) to match
`max_request_size` defined in conduwuit.toml.

You will need to reverse proxy everything under following routes:
- `/_matrix/` - core Matrix C-S and S-S APIs
Expand Down

0 comments on commit 876c6e9

Please sign in to comment.