From c9eacaee4651fd6b49816fe953cd2a7a1325d6c0 Mon Sep 17 00:00:00 2001 From: IlhamIslamy Date: Fri, 29 May 2026 16:39:31 +0700 Subject: [PATCH] feat: configure middleware to trust all proxies in application bootstrap --- bootstrap/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bootstrap/app.php b/bootstrap/app.php index 3e9020e..d00cd21 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -14,6 +14,7 @@ health: '/up', ) ->withMiddleware(function (Middleware $middleware): void { + $middleware->trustProxies(at: '*'); $middleware->encryptCookies(except: ['appearance', 'sidebar_state']); $middleware->web(append: [