Skip to content

Commit 3082de5

Browse files
authored
Update HTTPS detection in bootstrap configuration
1 parent fa84da5 commit 3082de5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
*/
181181
if ($httpHost) {
182182
$s = null;
183-
if (env('HTTPS')) {
183+
if (env('HTTPS') || env('HTTP_X_FORWARDED_PROTO') === 'https') {
184184
$s = 's';
185185
}
186186
$fullBaseUrl = 'http' . $s . '://' . $httpHost;

0 commit comments

Comments
 (0)