Trust reverse proxy headers
This commit is contained in:
@@ -14,6 +14,8 @@ return Application::configure(basePath: dirname(__DIR__))
|
||||
health: '/up',
|
||||
)
|
||||
->withMiddleware(function (Middleware $middleware): void {
|
||||
$middleware->trustProxies(at: '*');
|
||||
|
||||
$middleware->validateCsrfTokens(except: [
|
||||
'hook/*',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user