summaryrefslogtreecommitdiff
path: root/docs/installation_guide/nginx.md
diff options
context:
space:
mode:
authorLibravatar dx <dx@dxzone.com.ar>2022-11-23 16:10:56 +0100
committerLibravatar GitHub <noreply@github.com>2022-11-23 16:10:56 +0100
commit8942a70856acd6944cec54addb35189aa97c8810 (patch)
tree0d67778093f29a6500145a004426790b4936d71e /docs/installation_guide/nginx.md
parent[chore/frogend] fix profile preview css, use role info (#1130) (diff)
downloadgotosocial-8942a70856acd6944cec54addb35189aa97c8810.tar.xz
[docs] Clarify that reverse proxy setups need trusted-proxies (#1127)
* [docs] Clarify that reverse proxy setups need trusted-proxies * Remove the jq usage
Diffstat (limited to 'docs/installation_guide/nginx.md')
-rw-r--r--docs/installation_guide/nginx.md2
1 files changed, 2 insertions, 0 deletions
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