From bf6efe532c8f2de84e95b090911280a9b1b61ce8 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Mon, 13 Aug 2018 16:30:27 +0200 Subject: Added trusted proxies --- config/config.default.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/config.default.php b/config/config.default.php index a503a060..3299b07f 100644 --- a/config/config.default.php +++ b/config/config.default.php @@ -126,4 +126,7 @@ return [ '3XL' => '3XL', '4XL' => '4XL' ], + + // IP addresses of reverse proxies that are trusted, can be an array or a comma separated list + 'trusted_proxies' => env('TRUSTED_PROXIES', ['127.0.0.0/8', '::ffff:127.0.0.0/8', '::1/128']), ]; -- cgit v1.2.3-70-g09d2