Add trusted proxies

Signed-off-by: Andrea Pavone <info@andreapavone.com>
This commit is contained in:
2024-11-11 22:46:01 +01:00
parent 8086eafe06
commit 1da042baac

View File

@ -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) {
//