Browse Source
Add private subnets to trusted proxies for reverse proxy use
pull/357/head^2
KodeStar
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/Http/Middleware/TrustProxies.php
|
@ -12,7 +12,7 @@ class TrustProxies extends Middleware |
|
|
* |
|
|
* |
|
|
* @var array |
|
|
* @var array |
|
|
*/ |
|
|
*/ |
|
|
protected $proxies; |
|
|
protected $proxies = ['192.168.0.0/16', '172.16.0.0/12','10.0.0.0/8']; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* The current proxy header mappings. |
|
|
* The current proxy header mappings. |
|
|