This repository was archived by the owner on Feb 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ vagrant_synced_folder_default_type: nfs
99# machine name, and IP address for each instance.
1010vagrant_hostname : drupalvm.dev
1111vagrant_machine_name : drupalvm
12- vagrant_ip : 192.168.88.88
12+ vagrant_ip : 0.0.0.0
1313
1414# Allow Drupal VM to be accessed via a public network interface on your host.
1515# Vagrant boxes are insecure by default, so be careful. You've been warned!
@@ -98,6 +98,7 @@ apache_vhosts:
9898 ProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://127.0.0.1:9000{{ pimpmylog_install_dir }}"
9999
100100 - servername : " {{ vagrant_ip }}"
101+ serveralias : " dashboard.{{ vagrant_hostname }}"
101102 documentroot : " {{ dashboard_install_dir }}"
102103
103104apache_remove_default_vhost : true
@@ -128,7 +129,7 @@ nginx_hosts:
128129 root : " {{ pimpmylog_install_dir }}"
129130 is_php : true
130131
131- - server_name : " {{ vagrant_ip }}"
132+ - server_name : " {{ vagrant_ip }} dashboard.{{ vagrant_hostname }} "
132133 root : " {{ dashboard_install_dir }}"
133134
134135nginx_remove_default_vhost : true
Original file line number Diff line number Diff line change 2626- name : Copy Nginx vhosts into place.
2727 template :
2828 src : ../templates/nginx-vhost.conf.j2
29- dest : " {{ nginx_vhost_path }}/{{ item.server_name }}.conf"
29+ dest : " {{ nginx_vhost_path }}/{{ item.server_name.split(' ')[0] }}.conf"
3030 force : yes
3131 owner : root
3232 group : root
You can’t perform that action at this time.
0 commit comments