From 7e02d20467776508497a6bf77466111f4799caf7 Mon Sep 17 00:00:00 2001 From: Shohrat Date: Fri, 25 Aug 2023 10:30:32 +0000 Subject: [PATCH] from server --- .env | 6 ++--- .gitignore | 6 ++++- config/trustedproxy.php | 50 ----------------------------------------- 3 files changed, 8 insertions(+), 54 deletions(-) delete mode 100644 config/trustedproxy.php diff --git a/.env b/.env index d3069c6..ca35f73 100644 --- a/.env +++ b/.env @@ -13,9 +13,9 @@ APP_CURRENCY=TMT DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 -DB_DATABASE=nurgul_work -DB_USERNAME=root -DB_PASSWORD=bt110226 +DB_DATABASE=nurgul +DB_USERNAME=shohrat +DB_PASSWORD=Bt110226** DB_PREFIX= BROADCAST_DRIVER=log diff --git a/.gitignore b/.gitignore index 764b589..5ef5b3b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ vendor .env -composer.lock \ No newline at end of file +.gitignore +composer.lock +public/storage +resources/views/errors/402.blade.php + diff --git a/config/trustedproxy.php b/config/trustedproxy.php deleted file mode 100644 index e618ae2..0000000 --- a/config/trustedproxy.php +++ /dev/null @@ -1,50 +0,0 @@ - null, // [,], '*', ',' - - /* - * To trust one or more specific proxies that connect - * directly to your server, use an array or a string separated by comma of IP addresses: - */ - // 'proxies' => ['192.168.1.1'], - // 'proxies' => '192.168.1.1, 192.168.1.2', - - /* - * Or, to trust all proxies that connect - * directly to your server, use a "*" - */ - // 'proxies' => '*', - - /* - * Which headers to use to detect proxy related data (For, Host, Proto, Port) - * - * Options include: - * - * - Illuminate\Http\Request::HEADER_X_FORWARDED_ALL (use all x-forwarded-* headers to establish trust) - * - Illuminate\Http\Request::HEADER_FORWARDED (use the FORWARDED header to establish trust) - * - Illuminate\Http\Request::HEADER_X_FORWARDED_AWS_ELB (If you are using AWS Elastic Load Balancer) - * - * - 'HEADER_X_FORWARDED_ALL' (use all x-forwarded-* headers to establish trust) - * - 'HEADER_FORWARDED' (use the FORWARDED header to establish trust) - * - 'HEADER_X_FORWARDED_AWS_ELB' (If you are using AWS Elastic Load Balancer) - * - * @link https://symfony.com/doc/current/deployment/proxies.html - */ - 'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL, - -];