mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-14 12:07:29 -06:00
[docs] Clarify that reverse proxy setups need trusted-proxies (#1127)
* [docs] Clarify that reverse proxy setups need trusted-proxies * Remove the jq usage
This commit is contained in:
parent
5ba5fb3154
commit
8942a70856
5 changed files with 40 additions and 0 deletions
|
|
@ -86,6 +86,8 @@ If you're running GoToSocial on another machine with the local ip of 192.168.178
|
|||
|
||||
**Note**: `client_max_body_size` is set to 40M in this example, which is the default max video upload size for GoToSocial. You can make this value larger or smaller if necessary. The nginx default is only 1M, which is rather too small.
|
||||
|
||||
**Note**: To make `X-Forwarded-For` and rate limiting work, set the `trusted-proxies` configuration variable. See the [rate limiting](../api/ratelimiting.md) and [general configuration](../configuration/general.md) docs
|
||||
|
||||
Next we'll need to link the file we just created to the folder that nginx reads configurations for active sites from.
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue