@if (Str::startsWith(config('app.url'), 'https') && !Request::isSecure()) You must access the installation URL with https. @endif