summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2018-08-13 16:30:27 +0200
committermsquare <msquare@notrademark.de>2018-08-19 16:44:33 +0200
commitbf6efe532c8f2de84e95b090911280a9b1b61ce8 (patch)
tree33f767dc22b8073e1151782b77d1a48b25ff28b0 /config
parent6415882b1c3c9ead00ccbab09e2292a22ce3d1d2 (diff)
Added trusted proxies
Diffstat (limited to 'config')
-rw-r--r--config/config.default.php3
1 files changed, 3 insertions, 0 deletions
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']),
];