Trust all proxies in middleware configuration

This commit is contained in:
Fernando
2026-05-09 00:39:34 -06:00
committed by GitHub
parent 9fd484fc7b
commit 823f0e01da
+1 -1
View File
@@ -13,7 +13,7 @@ return Application::configure(basePath: dirname(__DIR__))
health: '/up',
)
->withMiddleware(function (Middleware $middleware): void {
//
$middleware->trustProxies(at: '*');
})
->withExceptions(function (Exceptions $exceptions): void {
//