diff --git a/config/bootstrap.php b/config/bootstrap.php index 30ed52ec5..ce293268b 100644 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -180,7 +180,7 @@ */ if ($httpHost) { $s = null; - if (env('HTTPS')) { + if (env('HTTPS') || env('HTTP_X_FORWARDED_PROTO') === 'https') { $s = 's'; } $fullBaseUrl = 'http' . $s . '://' . $httpHost;