diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 12fdf8b5e9f419335efd67fd1075701b20843f06..c73621e582506468c35973c557f6717ddab0b0a7 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -2,8 +2,8 @@ namespace App\Http\Middleware; -use Illuminate\Http\Request; use Fideloper\Proxy\TrustProxies as Middleware; +use Illuminate\Http\Request; class TrustProxies extends Middleware { @@ -12,7 +12,9 @@ class TrustProxies extends Middleware * * @var array|string */ - protected $proxies; + protected $proxies = [ + '10.108.160.148', + ]; /** * The headers that should be used to detect proxies.