Changeset 897df21
- Timestamp:
- 10/24/21 13:44:44 (3 years ago)
- Branches:
- develop, master
- Children:
- 83da0d2
- Parents:
- 51b783f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Middleware/TrustProxies.php
r51b783f r897df21 13 13 * @var array|string|null 14 14 */ 15 protected $proxies;15 //protected $proxies; 16 16 17 17 /** … … 20 20 * @var int 21 21 */ 22 protected $headers = 23 Request::HEADER_X_FORWARDED_FOR | 24 Request::HEADER_X_FORWARDED_HOST | 25 Request::HEADER_X_FORWARDED_PORT | 26 Request::HEADER_X_FORWARDED_PROTO | 27 Request::HEADER_X_FORWARDED_AWS_ELB; 22 // protected $headers = 23 // Request::HEADER_X_FORWARDED_FOR | 24 // Request::HEADER_X_FORWARDED_HOST | 25 // Request::HEADER_X_FORWARDED_PORT | 26 // Request::HEADER_X_FORWARDED_PROTO | 27 // Request::HEADER_X_FORWARDED_AWS_ELB; 28 29 protected $proxies = '*'; 30 protected $headers = Request:: HEADER_X_FORWARDED_AWS_ELB; 28 31 }
Note:
See TracChangeset
for help on using the changeset viewer.