Posts Learn Components Snippets Categories Tags Tools new About
/

How to Enable Secure HTTPS in Laravel Valet

Learn the ways to enable secure HTTPS in Laravel Valet for you rlocal development

Created on Jun 18, 2022

15 views

Enabling HTTPS in Valet


To enable secure HTTPS in Laravel Valet you can just run the "valet secure" command.
valet secure [website]
For example, if your website is called "example" then you can run the command as follows.
value secure example
Then you can access the website from the URL below.
https://example.test

Disabling HTTPS in Valet


To disable the HTTPS you can use the "valet unsecure" command.
valet unsecure
Now the URL will be back to normal.
http://example.test

If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️

Load comments for How to Enable Secure HTTPS in Laravel Valet

)