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/caddy.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/installation_guide/caddy.md') diff --git a/docs/installation_guide/caddy.md b/docs/installation_guide/caddy.md index 0b1e91668..89fb55605 100644 --- a/docs/installation_guide/caddy.md +++ b/docs/installation_guide/caddy.md @@ -77,6 +77,8 @@ example.org { } ``` +By default, caddy sets `X-Forwarded-For` in forwarded requests. To make this and rate limiting work, set the `trusted-proxies` configuration variable. See the [rate limiting](../api/ratelimiting.md) and [general configuration](../configuration/general.md) docs + For advanced configuration check the [reverse_proxy directive](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy) at the Caddy documentation. Now check for configuration errors. -- cgit v1.2.3