Skip to content

Commit 1839e87

Browse files
committed
add proxy trusting middleware configuration in app bootstrap setup
1 parent f05225e commit 1839e87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bootstrap/app.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
health: '/up',
1818
)
1919
->withMiddleware(function (Middleware $middleware): void {
20+
$middleware->trustProxies(at: '*');
2021
$middleware->encryptCookies(except: ['appearance', 'sidebar_state']);
2122

2223
$middleware->web(append: [

0 commit comments

Comments
 (0)