From cead741c1646f0bd53746164df6b84ae1c83bd77 Mon Sep 17 00:00:00 2001 From: tobi Date: Mon, 11 Aug 2025 16:23:55 +0200 Subject: [docs] Revamp trusted proxies warning a bit (#4365) Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4352 by mentioning required headers in reverse proxy. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4365 Co-authored-by: tobi Co-committed-by: tobi --- web/template/page_header.tmpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'web') diff --git a/web/template/page_header.tmpl b/web/template/page_header.tmpl index ba9cf6e72..f8b01fd02 100644 --- a/web/template/page_header.tmpl +++ b/web/template/page_header.tmpl @@ -21,14 +21,17 @@ {{- .with }}

- Warning! It looks like trusted-proxies is not set correctly in this instance's configuration. + Warning! It looks like either trusted-proxies is not set correctly in this instance's configuration, + or the upstream reverse proxy is not passing an appropriate X-Forwarded-For or X-Real-IP header. +

+

This may cause rate-limiting issues and, by extension, federation issues.

- If you are the instance admin, you should fix this by adding {{- .trustedProxiesRec -}} to your trusted-proxies. + If you are the instance admin, you may be able to fix this by adding {{- .trustedProxiesRec -}} to your trusted-proxies.

- For more information, see + For more information and other possible fixes for this issue, see