Home / Snippets / How to Enable Secure HTTPS in Laravel Valet
How to Enable Secure HTTPS in Laravel Valet cover

How to Enable Secure HTTPS in Laravel Valet

442

2 years ago

0 comments

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
notion avatar

Alaz

Week-end developer currently experimenting with web, mobile, and all things programming.

Topics:

Frontend

Resource

Average

Average

Support Us

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

Welcome to PostSrc V3

PostSrc Dark Logo

You have to login to favorite this