Skip to content

Commit

Permalink
Suggest matching max_request_size
Browse files Browse the repository at this point in the history
  • Loading branch information
nisbet-hubbard authored Nov 16, 2024
1 parent 053cd4e commit 4ab579f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/deploying/generic.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ header, making federation non-functional. If using Apache, you need to use
`nocanon` in your `ProxyPass` directive to prevent this (note that Apache
isn't very good as a general reverse proxy).

Nginx users may need to increase `client_max_body_size` if there are issues with
uploading media like images. Set `proxy_request_buffering off;` and
`proxy_buffering off;` if you prefer not to buffer big files to disk.
Nginx users need to increase `client_max_body_size` (default is 1M) to match
`max_request_size` defined in conduwuit.toml. Set `proxy_request_buffering off;`
and `proxy_buffering off;` if you prefer not to buffer big files to disk.

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 4ab579f

Please sign in to comment.