Added trusted proxy config

This commit is contained in:
Constantin Graf
2024-04-12 15:15:02 +02:00
parent 2045bf6ba9
commit d99847ef19

7
config/trustedproxy.php Normal file
View File

@@ -0,0 +1,7 @@
<?php
declare(strict_types=1);
return [
'proxies' => ! is_string(env('TRUSTED_PROXIES', null)) ? [] : explode(',', env('TRUSTED_PROXIES')),
];