From 8942a70856acd6944cec54addb35189aa97c8810 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 23 Nov 2022 16:10:56 +0100 Subject: [docs] Clarify that reverse proxy setups need trusted-proxies (#1127) * [docs] Clarify that reverse proxy setups need trusted-proxies * Remove the jq usage --- docs/installation_guide/nginx.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/installation_guide/nginx.md') diff --git a/docs/installation_guide/nginx.md b/docs/installation_guide/nginx.md index 7beeff7a3..7525d6634 100644 --- a/docs/installation_guide/nginx.md +++ b/docs/installation_guide/nginx.md @@ -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 -- cgit v1.2.3