From 0925e141b46ed1e4eb5ce76265dff3c20027b4b4 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Thu, 28 Mar 2024 13:27:14 -0400 Subject: [PATCH] =?UTF-8?q?These=20don=E2=80=99t=20work?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/InfoCommand.php | 1 - config/trustedproxy.php | 28 ---------------------------- shell.nix | 19 ------------------- 3 files changed, 48 deletions(-) delete mode 100644 config/trustedproxy.php delete mode 100644 shell.nix diff --git a/app/Console/Commands/InfoCommand.php b/app/Console/Commands/InfoCommand.php index 865f408f0..a774c032b 100644 --- a/app/Console/Commands/InfoCommand.php +++ b/app/Console/Commands/InfoCommand.php @@ -44,7 +44,6 @@ class InfoCommand extends Command ['Session Driver', config('session.driver')], ['Filesystem Driver', config('filesystems.default')], ['Default Theme', config('themes.active')], - ['Proxies', config('trustedproxies.proxies')], ], 'compact'); $this->output->title('Database Configuration'); diff --git a/config/trustedproxy.php b/config/trustedproxy.php deleted file mode 100644 index 7e0166af8..000000000 --- a/config/trustedproxy.php +++ /dev/null @@ -1,28 +0,0 @@ -getClientIp() - * always gets the originating client IP, no matter - * how many proxies that client's request has - * subsequently passed through. - */ - 'proxies' => in_array(env('TRUSTED_PROXIES', []), ['*', '**']) ? - env('TRUSTED_PROXIES') : explode(',', env('TRUSTED_PROXIES') ?? ''), -]; diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 6eee625ab..000000000 --- a/shell.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - composer ? null, - php81WithExtensions ? null, - pkgs ? import {}, -}: -with pkgs; - mkShell rec { - buildInputs = [ - alejandra - composer - nodejs_18 - nodePackages.yarn - php81WithExtensions - ]; - - shellHook = '' - PATH="$PATH:${pkgs.docker-compose}/libexec/docker/cli-plugins" - ''; - }