Posts Learn Components Snippets Categories Tags Tools 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

427 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

new

PostSrc Code Components

Collection of Tailwind CSS components for everyone to use. Browse all of the components that are right for your project.

View Components

Sponsors 👑

+ Add Yours
)