I have a shared hosting with OVH(France) and i have the \"Let\'s Encrypt\" certificate for my domain.
however, i looked everywhere for redirecting all requests from HTTP
If you'd like to force HTTPS over all URLs of your app without having to change your Apache
or Nginx
configuration, you need to update your AppServiceProvider
as followed:
app['url']->forceScheme('https');
}
}
}
PS: you can remove the condition if you have SSL enabled on your local development environment.