Skip to content

v10.12.0

Compare
Choose a tag to compare
@svpernova09 svpernova09 released this 21 Jul 17:24
c045198
  • Refactor wildcard usage resolves #1458 & add services feature

New Features 🆕

Enable or Disable Services

Homestead starts several services by default however if your configuration overrides one of these defaults you can specify which services you would like to enable or disable during provisioning. For example if you only needed PostgreSQL 12 your services: configuration in Homestead.yaml might look like:

services:
    - enabled:
        - "postgresql@12-main"
    - disabled:
        - "mysql"

This configuration would ensure postgresql@12-main service would be enabled and mysql would be disabled from starting at boot. The specified services will also be started or stopped based on their location in enabled and disabled sections.

Wildcard SSL

Homestead configures a self-signed SSL certificate for each site defined in the sites: section of your Homestead.yaml file. If you would like to generate a wildcard SSL certificate for a site you may add a wildcard option to that site's configuration. By default the site will use the wild card certificate instead of the specific domain certificate.

- map: foo.domain.test
  to: /home/vagrant/domain
  wildcard: "yes"

If the use_wildcard option is set to no, the wildcard certificate will be generated but will not be used:

- map: foo.domain.test
  to: /home/vagrant/domain
  wildcard: "yes"
  use_wildcard: "no"