From b0f3cef98d8cf361ef03291600c906bdbb8f7767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Fri, 10 Jun 2016 14:14:09 -0400 Subject: [PATCH] Add www.drupalvm.dev as a default webserver alias --- default.config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.config.yml b/default.config.yml index 0a5c65ad7..175241265 100644 --- a/default.config.yml +++ b/default.config.yml @@ -92,6 +92,7 @@ configure_drush_aliases: true # View the geerlingguy.apache Ansible Role README for more options. apache_vhosts: - servername: "{{ drupal_domain }}" + serveralias: "www.{{ drupal_domain }}" documentroot: "{{ drupal_core_path }}" extra_parameters: | ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}" @@ -130,7 +131,7 @@ apache_mods_enabled: # here. Set the 'is_php' property for document roots that contain PHP apps like # Drupal. nginx_hosts: - - server_name: "{{ drupal_domain }}" + - server_name: "{{ drupal_domain }} www.{{ drupal_domain }}" root: "{{ drupal_core_path }}" is_php: true