From ecd34bfc81177c681af1b404952b27c673f1e5b7 Mon Sep 17 00:00:00 2001 From: mtmn Date: Tue, 21 Apr 2026 21:03:47 +0200 Subject: [PATCH 1/2] docs: fix laravel trusted proxies url --- docs/production.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/production.md b/docs/production.md index 7b6898d6f5..820a0f2183 100644 --- a/docs/production.md +++ b/docs/production.md @@ -155,7 +155,7 @@ Replace `` with the actual IP ranges of your proxy if needed. Additionally, your PHP framework must also be configured to trust the proxy. For example, set the [`TRUSTED_PROXIES` environment variable](https://symfony.com/doc/current/deployment/proxies.html) for Symfony, -or the [`trustedproxies` middleware](https://laravel.com/docs/trustedproxy) for Laravel. +or the [`trustedproxies` middleware](https://laravel.com/docs/master/requests#configuring-trusted-proxies) for Laravel. Without both configurations, headers such as `X-Forwarded-For` and `X-Forwarded-Proto` will be ignored, which can cause issues like incorrect HTTPS detection or wrong client IP addresses. From ef9a17d21732e2de1ead39a795adf1ca11bfe3e5 Mon Sep 17 00:00:00 2001 From: Miro Toman <44134862+mtmn@users.noreply.github.com> Date: Wed, 22 Apr 2026 08:18:44 +0200 Subject: [PATCH 2/2] fix: use current version instead of master MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kévin Dunglas Signed-off-by: Miro Toman <44134862+mtmn@users.noreply.github.com> --- docs/production.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/production.md b/docs/production.md index 820a0f2183..b66c9f68f7 100644 --- a/docs/production.md +++ b/docs/production.md @@ -155,7 +155,7 @@ Replace `` with the actual IP ranges of your proxy if needed. Additionally, your PHP framework must also be configured to trust the proxy. For example, set the [`TRUSTED_PROXIES` environment variable](https://symfony.com/doc/current/deployment/proxies.html) for Symfony, -or the [`trustedproxies` middleware](https://laravel.com/docs/master/requests#configuring-trusted-proxies) for Laravel. +or the [`trustedproxies` middleware](https://laravel.com/docs/requests#configuring-trusted-proxies) for Laravel. Without both configurations, headers such as `X-Forwarded-For` and `X-Forwarded-Proto` will be ignored, which can cause issues like incorrect HTTPS detection or wrong client IP addresses.