From bdf4a7940134332941c4ea1a7df13e15412f5a57 Mon Sep 17 00:00:00 2001 From: Supan Adit Pratama Date: Fri, 15 Apr 2022 10:31:42 +0700 Subject: [PATCH] feat: add trust proxy --- 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 14befce..7f3a61f 100755 --- a/app/Http/Middleware/TrustProxies.php +++ b/app/Http/Middleware/TrustProxies.php @@ -12,7 +12,7 @@ class TrustProxies extends Middleware * * @var array|string|null */ - protected $proxies; + protected $proxies = ['127.0.0.1']; /** * The headers that should be used to detect proxies.