Skip to content

Commit

Permalink
Added trusted proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Apr 12, 2024
1 parent 27bffaa commit 5080025
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/trustedproxy.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

declare(strict_types=1);

return [
'proxies' => ! is_string(env('TRUSTED_PROXIES', null)) ? [] : explode(',', env('TRUSTED_PROXIES')),
];

0 comments on commit 5080025

Please sign in to comment.