source: app/Http/Middleware/TrustProxies.php@ d25ba66

Last change on this file since d25ba66 was 0924b6c, checked in by Özkan İliyaz <iliyaz_96@…>, 4 years ago

initial commit

  • Property mode set to 100644
File size: 429 bytes
Line 
1<?php
2
3namespace App\Http\Middleware;
4
5use Illuminate\Http\Request;
6use Fideloper\Proxy\TrustProxies as Middleware;
7
8class TrustProxies extends Middleware
9{
10 /**
11 * The trusted proxies for this application.
12 *
13 * @var array
14 */
15 protected $proxies;
16
17 /**
18 * The headers that should be used to detect proxies.
19 *
20 * @var int
21 */
22 protected $headers = Request::HEADER_X_FORWARDED_ALL;
23}
Note: See TracBrowser for help on using the repository browser.