From dd2ca62eafc8afc3d187a3fb208c21b64e9d5ac8 Mon Sep 17 00:00:00 2001 From: KodeStar Date: Tue, 11 Jun 2019 11:00:44 +0100 Subject: [PATCH] Add private subnets to trusted proxies for reverse proxy use --- app/Http/Middleware/TrustProxies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php index 6a0a1a44..4d7d39c8 100644 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -12,7 +12,7 @@ class TrustProxies extends Middleware * * @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.