//put the below code inside app/Providers/AppServiceProvider.php if($this->app->environment('production')) { URL::forceScheme('https'); }