File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ APP_CLEAR_TASKLOG=720
77APP_DELETE_MINUTES = 10
88CONSOLE_PUSH_FREQ = 250
99CONSOLE_PUSH_COUNT = 10
10- TRUSTED_PROXIES = null
1110
1211DB_HOST = localhost
1312DB_PORT = 3306
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Kernel extends HttpKernel
1717 \Illuminate \Cookie \Middleware \AddQueuedCookiesToResponse::class,
1818 \Illuminate \Session \Middleware \StartSession::class,
1919 \Illuminate \View \Middleware \ShareErrorsFromSession::class,
20-
20+
2121 \Pterodactyl \Http \Middleware \LanguageMiddleware::class,
2222 \Fideloper \Proxy \TrustProxies::class,
2323 ];
Original file line number Diff line number Diff line change 3030 * Or, to trust all proxies that connect
3131 * directly to your server, uncomment this:
3232 */
33- # 'proxies' => '*',
33+ // 'proxies' => '*',
3434
3535 /*
3636 * Or, to trust ALL proxies, including those that
3737 * are in a chain of fowarding, uncomment this:
38- */
39- # 'proxies' => '**',
38+ */
39+ // 'proxies' => '**',
4040
4141 /*
4242 * Default Header Names
5555 \Illuminate \Http \Request::HEADER_CLIENT_HOST => 'X_FORWARDED_HOST ' ,
5656 \Illuminate \Http \Request::HEADER_CLIENT_PROTO => 'X_FORWARDED_PROTO ' ,
5757 \Illuminate \Http \Request::HEADER_CLIENT_PORT => 'X_FORWARDED_PORT ' ,
58- ]
58+ ],
5959];
You can’t perform that action at this time.
0 commit comments