X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/app/Http/Middleware
home
/
prisjneg
/
public_html
/
app
/
Http
/
Middleware
/
📁
..
📄
Authenticate.php
(409 B)
📄
EncryptCookies.php
(307 B)
📄
PreventRequestsDuringMaintenance.php
(366 B)
📄
RedirectIfAuthenticated.php
(760 B)
📄
TrimStrings.php
(381 B)
📄
TrustHosts.php
(379 B)
📄
TrustProxies.php
(649 B)
📄
ValidateSignature.php
(460 B)
📄
VerifyCsrfToken.php
(320 B)
Editing: TrustProxies.php
<?php namespace App\Http\Middleware; use Illuminate\Http\Middleware\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array<int, string>|string|null */ protected $proxies; /** * The headers that should be used to detect proxies. * * @var int */ protected $headers = Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PORT | Request::HEADER_X_FORWARDED_PROTO | Request::HEADER_X_FORWARDED_AWS_ELB; }
Upload File
Create Folder