Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Commit 5cb3df2

Browse files
authored
Merge pull request #724 from oxyc/www-alias
Add www.drupalvm.dev as a default webserver alias
2 parents ab5d835 + b0f3cef commit 5cb3df2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

default.config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ configure_drush_aliases: true
9292
# View the geerlingguy.apache Ansible Role README for more options.
9393
apache_vhosts:
9494
- servername: "{{ drupal_domain }}"
95+
serveralias: "www.{{ drupal_domain }}"
9596
documentroot: "{{ drupal_core_path }}"
9697
extra_parameters: |
9798
ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ drupal_core_path }}"
@@ -130,7 +131,7 @@ apache_mods_enabled:
130131
# here. Set the 'is_php' property for document roots that contain PHP apps like
131132
# Drupal.
132133
nginx_hosts:
133-
- server_name: "{{ drupal_domain }}"
134+
- server_name: "{{ drupal_domain }} www.{{ drupal_domain }}"
134135
root: "{{ drupal_core_path }}"
135136
is_php: true
136137

0 commit comments

Comments
 (0)