From f6cb0b1ebf4c2cf75d8b05b039bbf0e907e27f54 Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Mon, 19 Oct 2026 12:37:45 +0200 Subject: [PATCH 1/2] IBX-11181: Updated trusted proxies tip for Fastly on Ibexa Cloud --- .../cache/http_cache/reverse_proxy.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md b/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md index 8dfc62e4cd..31fe1ab851 100644 --- a/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md +++ b/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md @@ -104,10 +104,11 @@ framework: When using Fastly, you need to set `trusted_proxies` according to the [IP ranges used by Fastly](https://api.fastly.com/public-ip-list). -!!! tip +!!! tip "Fastly on [[= product_name_cloud =]]" - You don't have to set `trusted_proxies` when using Fastly on Upsun. - The Upsun router automatically changes the source IP of requests coming from Fastly, replacing the source IP with the actual client IP and removing any `X-FORWARD-...` header in the request before it reaches [[= product_name =]]. + You don't have to set `trusted_proxies` according to the IP ranges used by Fastly when using Fastly on [[= product_name_cloud =]]. + The Upsun router replaces the source IP of requests coming from Fastly with the actual client IP before they reach [[= product_name =]]. + As of [[= product_name =]] v4.6.33 and v5.0.11, [[= product_name =]] detects requests that come from Fastly on [[= product_name_cloud =]] and trusts the proxy headers set by the router automatically, as long as `framework.trusted_proxies` isn't empty (`TRUSTED_PROXIES` defaults to `127.0.0.1` in `.env`). For more information about setting these variables, see [Configuration examples](#configuration-examples). From 8ca2535aea026cf66faae35d33e6212df6b9e5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C4=85browski?= <64841871+dabrt@users.noreply.github.com> Date: Wed, 28 Oct 2026 17:11:13 +0100 Subject: [PATCH 2/2] Improve wording --- .../cache/http_cache/reverse_proxy.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md b/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md index 31fe1ab851..2606f2078e 100644 --- a/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md +++ b/docs/infrastructure_and_maintenance/cache/http_cache/reverse_proxy.md @@ -106,9 +106,11 @@ When using Fastly, you need to set `trusted_proxies` according to the [IP ranges !!! tip "Fastly on [[= product_name_cloud =]]" - You don't have to set `trusted_proxies` according to the IP ranges used by Fastly when using Fastly on [[= product_name_cloud =]]. + When you use Fastly on [[= product_name_cloud =]], you don't have to set `trusted_proxies` according to the IP ranges used by Fastly. The Upsun router replaces the source IP of requests coming from Fastly with the actual client IP before they reach [[= product_name =]]. - As of [[= product_name =]] v4.6.33 and v5.0.11, [[= product_name =]] detects requests that come from Fastly on [[= product_name_cloud =]] and trusts the proxy headers set by the router automatically, as long as `framework.trusted_proxies` isn't empty (`TRUSTED_PROXIES` defaults to `127.0.0.1` in `.env`). + + As of v5.0.11, [[= product_name =]] detects requests that come from Fastly on [[= product_name_cloud =]] and automatically trusts the proxy headers set by the router. + This works only if `framework.trusted_proxies` isn't empty (`TRUSTED_PROXIES` defaults to `127.0.0.1` in `.env`). For more information about setting these variables, see [Configuration examples](#configuration-examples).