From 5b90a4523da8706149ce8d2e612f3b3680931c2f Mon Sep 17 00:00:00 2001 From: Cachet Bot Date: Fri, 28 Dec 2018 14:02:37 +0000 Subject: [PATCH] Apply fixes from StyleCI --- config/trustedproxy.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/config/trustedproxy.php b/config/trustedproxy.php index f93ac2c1..c8cfc7c0 100644 --- a/config/trustedproxy.php +++ b/config/trustedproxy.php @@ -30,25 +30,24 @@ return [ * To trust one or more specific proxies that connect * directly to your server, use an array of IP addresses: */ - # 'proxies' => ['192.168.1.1'], + // 'proxies' => ['192.168.1.1'], /* * Or, to trust all proxies that connect * directly to your server, use a "*" */ - # 'proxies' => '*', + // 'proxies' => '*', /* * Which headers to use to detect proxy related data (For, Host, Proto, Port) - * + * * Options include: - * + * * - Illuminate\Http\Request::HEADER_X_FORWARDED_ALL (use all x-forwarded-* headers to establish trust) * - Illuminate\Http\Request::HEADER_FORWARDED (use the FORWARDED header to establish trust) - * + * * @link https://symfony.com/doc/current/deployment/proxies.html */ 'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL, - ];