Add trusted proxies
Signed-off-by: Andrea Pavone <info@andreapavone.com>
This commit is contained in:
@ -23,6 +23,7 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
Request::HEADER_X_FORWARDED_PROTO |
|
||||
Request::HEADER_X_FORWARDED_AWS_ELB
|
||||
);
|
||||
$middleware->trustProxies(at: '*');
|
||||
})
|
||||
->withExceptions(function (Exceptions $exceptions) {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user