summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/template/page_header.tmpl9
1 files changed, 6 insertions, 3 deletions
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 }}
<div class="trusted-proxies-rec">
<p>
- <strong>Warning!</strong> It looks like <code>trusted-proxies</code> is not set correctly in this instance's configuration.
+ <strong>Warning!</strong> It looks like either <code>trusted-proxies</code> is not set correctly in this instance's configuration,
+ or the upstream reverse proxy is not passing an appropriate <code>X-Forwarded-For</code> or <code>X-Real-IP</code> header.
+ </p>
+ <p>
This may cause rate-limiting issues and, by extension, federation issues.
</p>
<p>
- If you are the instance admin, you should fix this by adding <code>{{- .trustedProxiesRec -}}</code> to your <code>trusted-proxies</code>.
+ If you are the instance admin, you may be able to fix this by adding <code>{{- .trustedProxiesRec -}}</code> to your <code>trusted-proxies</code>.
</p>
<p>
- For more information, see
+ For more information and other possible fixes for this issue, see
<a
href="https://docs.gotosocial.org/en/latest/configuration/trusted_proxies/"
rel="nofollow noreferrer noopener"