From 3082de5315f04cc8645355f764e78aef22a8fb85 Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Fri, 19 Dec 2025 18:02:30 +0100 Subject: [PATCH] Update HTTPS detection in bootstrap configuration --- config/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;