Documentation
Securing Sites
#Securing Sites with TLS
By default, Herd serves sites over HTTP. However, if you would like to serve a site over encrypted TLS using HTTP/2, you may secure your sites.
#Via the GUI
You can secure/unsecure a site in the "Sites" tab of the preferences window. This gives you a list of all your sites and allows you to toggle the secured status of each site.
When a closed lock icon is shown, the site is secured. When an open lock icon is shown, the site is unsecured.
Clicking on the lock icon will toggle the secured status of the site.
#Via the CLI
If you prefer to use the CLI, you can use the herd secure
command to secure/unsecure a site.
This command works the same way as the valet secure
command. You can read more about it in the Valet documentation.
$ herd secure example-site