github laravel/homestead v10.12.0

  • 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:

    - 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"
latest releases: v12.0.0, v10.17.0, v11.4.0...
7 months ago