Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Dec 13, 2023
1 parent 712be67 commit 426a214
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Middleware/SetCloudfrontHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function handle(Request $request, Closure $next): Response
if ($request->hasHeader($this->header)) {
$request->headers->add([
'X-Forwarded-Proto' => $request->header($this->header),
'X-Forwarded-Port' => 'https',
]);
}

Expand Down

0 comments on commit 426a214

Please sign in to comment.