remove TRUSTED_PROXIES from .env.example

make style ci happy
This commit is contained in:
Jakob Schrettenbrunner 2017-02-01 20:31:24 +01:00
parent ee26a7e8dd
commit 8ab4faad8a
3 changed files with 5 additions and 6 deletions

View file

@ -7,7 +7,6 @@ APP_CLEAR_TASKLOG=720
APP_DELETE_MINUTES=10
CONSOLE_PUSH_FREQ=250
CONSOLE_PUSH_COUNT=10
TRUSTED_PROXIES=null
DB_HOST=localhost
DB_PORT=3306

View file

@ -17,7 +17,7 @@ class Kernel extends HttpKernel
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\Pterodactyl\Http\Middleware\LanguageMiddleware::class,
\Fideloper\Proxy\TrustProxies::class,
];

View file

@ -30,13 +30,13 @@ return [
* Or, to trust all proxies that connect
* directly to your server, uncomment this:
*/
# 'proxies' => '*',
// 'proxies' => '*',
/*
* Or, to trust ALL proxies, including those that
* are in a chain of fowarding, uncomment this:
*/
# 'proxies' => '**',
*/
// 'proxies' => '**',
/*
* Default Header Names
@ -55,5 +55,5 @@ return [
\Illuminate\Http\Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST',
\Illuminate\Http\Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO',
\Illuminate\Http\Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT',
]
],
];