Apply fixes from StyleCI
This commit is contained in:
@@ -30,25 +30,24 @@ return [
|
|||||||
* To trust one or more specific proxies that connect
|
* To trust one or more specific proxies that connect
|
||||||
* directly to your server, use an array of IP addresses:
|
* 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
|
* Or, to trust all proxies that connect
|
||||||
* directly to your server, use a "*"
|
* directly to your server, use a "*"
|
||||||
*/
|
*/
|
||||||
# 'proxies' => '*',
|
// 'proxies' => '*',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Which headers to use to detect proxy related data (For, Host, Proto, Port)
|
* Which headers to use to detect proxy related data (For, Host, Proto, Port)
|
||||||
*
|
*
|
||||||
* Options include:
|
* Options include:
|
||||||
*
|
*
|
||||||
* - Illuminate\Http\Request::HEADER_X_FORWARDED_ALL (use all x-forwarded-* headers to establish trust)
|
* - 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)
|
* - Illuminate\Http\Request::HEADER_FORWARDED (use the FORWARDED header to establish trust)
|
||||||
*
|
*
|
||||||
* @link https://symfony.com/doc/current/deployment/proxies.html
|
* @link https://symfony.com/doc/current/deployment/proxies.html
|
||||||
*/
|
*/
|
||||||
'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
|
'headers' => Illuminate\Http\Request::HEADER_X_FORWARDED_ALL,
|
||||||
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user