bookinventory/app/Http/Middleware/TrustProxies.php
Tyler bed34d5350
All checks were successful
continuous-integration/drone/push Build is passing
Don't add whole app to docker image
2020-12-21 03:43:16 -05:00

23 lines
440 B
PHP

<?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;
}