Skip to content

docs: fix laravel trusted proxies url#2359

Open
mtmn wants to merge 1 commit intophp:mainfrom
mtmn:docs/fix-laravel-link
Open

docs: fix laravel trusted proxies url#2359
mtmn wants to merge 1 commit intophp:mainfrom
mtmn:docs/fix-laravel-link

Conversation

@mtmn
Copy link
Copy Markdown

@mtmn mtmn commented Apr 21, 2026

Fixes previously broken link in to Laravel's Trusted Proxies setup.

Copy link
Copy Markdown
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

Comment thread docs/production.md
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.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

(Current version instead of master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants