updated to handle proxies correctly
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run

This commit is contained in:
Edward Tirado Jr 2025-12-26 13:30:29 -06:00
parent 4c99626acc
commit 1adae37e09
3 changed files with 19 additions and 0 deletions

View file

@ -123,4 +123,19 @@ return [
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],
/*
|--------------------------------------------------------------------------
| Trusted Proxies
|--------------------------------------------------------------------------
|
| Set the IP addresses or CIDR ranges of proxies to trust for forwarded
| headers (X-Forwarded-Proto, X-Forwarded-For, etc). Use comma-separated
| values for multiple proxies, or '*' to trust all proxies.
|
| Examples: '127.0.0.1,::1', '10.0.0.0/8', '192.168.1.1', '*'
|
*/
'trusted_proxies' => env('TRUSTED_PROXIES', '127.0.0.1,::1'),
];