Vanilla Laravel 7 for MotorradIG as motorradig2 project

This commit is contained in:
TorstenS 2020-07-19 12:56:25 +02:00
parent e5c726a0ea
commit 7b9f21e683
87 changed files with 19702 additions and 1 deletions

View file

@ -0,0 +1,23 @@
<?php
namespace App\Http\Middleware;
use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Request;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array|string|null
*/
protected $proxies;
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}