diff --git a/bootstrap/app.php b/bootstrap/app.php index f81b99fb..91bfd242 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -29,11 +29,6 @@ 'solder_mods' => \App\Http\Middleware\SolderMods::class, 'solder_users' => \App\Http\Middleware\SolderUsers::class, ]); - - $middleware->trustProxies( - at: config('trustedproxies', []), - headers: Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PROTO - ); }) ->withExceptions(function (Exceptions $exceptions) { // diff --git a/config/trustedproxies.php b/config/trustedproxies.php deleted file mode 100644 index bc289f00..00000000 --- a/config/trustedproxies.php +++ /dev/null @@ -1,5 +0,0 @@ -