Im using laravel with valet, when I acess some site the url is "https://blog.test". Im using localhost for now.
But I would like to have the site with a secure connection. But Im not finding about which is necessary to have a secure connection.
Do you know if it is only nececessary set the url with https like "'url' => env(APP_URL, https://localhost)' in config/app.php? Or it is in the route files that is necessary to change something?
First, you need an SSL certificate, for the server.
Secondly, you need to configure the web server to listen to the 443 port for ssl
And the third one is to change the domain in the .env file