updated to handle proxies correctly
This commit is contained in:
parent
4c99626acc
commit
1adae37e09
3 changed files with 19 additions and 0 deletions
|
|
@ -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'),
|
||||
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue